Skip to content

Commit df105ff

Browse files
Remove unnecessary permissions declaration from exercise 1, 2, 3, and 4 workflows
1 parent e6931de commit df105ff

4 files changed

Lines changed: 4 additions & 12 deletions

File tree

.github/workflows/exercise1_workflow.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Workflow of exercise 1
22
run-name: First workflow
33

4-
permissions: {
5-
contents: read
6-
}
4+
permissions: {}
75

86
on: [push]
97

.github/workflows/exercise2_workflow.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Workflow of exercise 2
22
run-name: Second workflow
33

4-
permissions: {
5-
contents: read
6-
}
4+
permissions: {}
75

86
on:
97
push:

.github/workflows/exercise3_workflow.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Workflow of exercise 3
22
run-name: Third workflow
33

4-
permissions: {
5-
contents: read
6-
}
4+
permissions: {}
75

86
on:
97
push:

.github/workflows/exercise4_workflow.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Workflow of exercise 4
22
run-name: Fourth workflow
33

4-
permissions: {
5-
contents: read
6-
}
4+
permissions: {}
75

86
on:
97
push:

0 commit comments

Comments
 (0)