Skip to content

Commit

Permalink
[core] Remove default access to GitHub action scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 6, 2022
1 parent 2015115 commit 669cca1
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check-if-pr-has-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
types: [opened, reopened, labeled, unlabeled]

permissions: {}

jobs:
test-label-applied:
# Tests that label is added on the PR
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- 'renovate/**'
pull_request:

permissions: {}

jobs:
# Tests dev-only scripts across all supported dev environments
test-dev:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
schedule:
- cron: '0 2 * * *'

permissions: {}

jobs:
analyze:
name: Analyze
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Maintenance

permissions: {}

on:
# So that PRs touching the same files as the push are updated
push:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/mark-duplicate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
issue_comment:
types: [created]

permissions: {}

jobs:
mark-duplicate:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/no-response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
# Schedule for five minutes after the hour, every hour
- cron: '5 * * * *'

permissions: {}

jobs:
noResponse:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
schedule:
- cron: '0 2 * * *'

permissions: {}

jobs:
analysis:
name: Scorecards analysis
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/support-stackoverflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
issues:
types: [labeled, unlabeled, reopened]

permissions: {}

jobs:
mark-support:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 669cca1

Please sign in to comment.