Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: restrict GitHub actions permissions #1371

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ on:
push:
branches:
- main # default branch of the project

permissions: {}

jobs:
dependency-graph:
name: Update Dependency Graph
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: scalacenter/sbt-dependency-submission@v2
permissions:
# The API requires write permission on the repository
# to submit dependencies
contents: write
4 changes: 4 additions & 0 deletions .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:

name: Launch Scala Steward

# The GitHub Action doesn't need permissions: it only reads already-public
# data and creates PRs through the scala-steward-asf bot:
permissions: {}

jobs:
scala-steward:
runs-on: ubuntu-22.04
Expand Down