Skip to content

Commit 05bbe31

Browse files
larshpschneidermic0albertmink
authored
run less actions (#429)
Co-authored-by: Michael Schneider <[email protected]> Co-authored-by: Albert Mink <[email protected]>
1 parent 47368b7 commit 05bbe31

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

.github/workflows/editorconfig.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,18 @@ name: EditorConfig
1515
# Start the job on all push #
1616
#############################
1717
on:
18-
push:
19-
branches-ignore: [main]
2018
pull_request:
21-
branches: [main]
19+
20+
permissions:
21+
contents: read
2222

2323
###############
2424
# Set the Job #
2525
###############
2626
jobs:
2727
lint-editorconfig:
2828
runs-on: ubuntu-latest
29+
timeout-minutes: 10
2930
name: Lint for editorconfig violations
3031
steps:
3132
- name: Checkout the repository
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
name: Check Markdown links
22

33
on:
4-
push:
5-
branches-ignore: [main]
64
pull_request:
7-
branches: [main]
5+
6+
permissions:
7+
contents: read
88

99
jobs:
1010
markdown-link-check:
1111
runs-on: ubuntu-latest
12+
timeout-minutes: 10
1213
steps:
1314
- uses: actions/checkout@main
1415
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1516
with:
16-
base-branch: 'main'
17+
base-branch: 'main'

.github/workflows/py-validation.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
name: Validate JSON
22

33
on:
4-
push:
5-
branches-ignore: [main]
6-
# Remove the line above to run when pushing to master
74
pull_request:
8-
branches: [main]
5+
6+
permissions:
7+
contents: read
98

109
jobs:
1110
build:
@@ -14,6 +13,8 @@ jobs:
1413

1514
runs-on: ubuntu-latest
1615

16+
timeout-minutes: 10
17+
1718
steps:
1819
- uses: actions/checkout@v2
1920
- name: Set up Python 3.6

0 commit comments

Comments
 (0)