Skip to content

Commit 9542ab4

Browse files
Add permissions section to exercise 1, 2, and 3 workflows
1 parent e2c60cb commit 9542ab4

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/exercise1_workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Workflow of exercise 1
22
run-name: First workflow
33

4+
permissions: {}
5+
46
on: [push]
57

68
jobs:

.github/workflows/exercise2_workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Workflow of exercise 2
22
run-name: Second workflow
33

4+
permissions: {}
5+
46
on:
57
push:
68
branches: [ main ]

.github/workflows/exercise3_workflow.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Workflow of exercise 3
22
run-name: Third workflow
33

4+
permissions: {}
5+
46
on:
57
push:
68
branches: [ main ]

0 commit comments

Comments
 (0)