Skip to content

Commit

Permalink
Add permissions key to workflows and example (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Nov 6, 2022
1 parent be27f35 commit 1e1da5d
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/additional_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: ["master"]
pull_request:

permissions: {}

jobs:
additional_files:
name: additional_files
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check_together.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: ["master"]
pull_request:

permissions: {}

jobs:
check_together:
name: check_together
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ignore_names.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: ["master"]
pull_request:

permissions: {}

jobs:
ignore_names:
name: ignore_names
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ignore_paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: ["master"]
pull_request:

permissions: {}

jobs:
ignore_paths:
name: ignore_paths
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scandir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: ["master"]
pull_request:

permissions: {}

jobs:
scandir:
name: scandir
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- master

name: "Trigger: Push action"
permissions: {}

jobs:
shellcheck:
Expand Down

0 comments on commit 1e1da5d

Please sign in to comment.