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

Set permissions for GitHub actions #3634

Merged
merged 1 commit into from Apr 15, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -5,8 +5,13 @@ on:
branches: [master]
schedule:
- cron: '3 3 3 * *'
permissions:
contents: read

jobs:
ci:
permissions:
contents: none
name: CI
needs: [test, check, docs, rustfmt, clippy]
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/post-release.yml
Expand Up @@ -3,8 +3,13 @@ on:
push:
tags:
- "v*"
permissions:
contents: read

jobs:
create-release:
permissions:
contents: write # for actions/create-release to create a release
name: create-release
runs-on: ubuntu-latest
outputs:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rust-next.yml
Expand Up @@ -2,6 +2,9 @@ name: rust-next
on:
schedule:
- cron: '3 3 3 * *'
permissions:
contents: read

jobs:
test:
name: Test
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/spelling.yml
@@ -1,6 +1,9 @@
name: Spelling
on: [pull_request]

permissions:
contents: read

jobs:
spelling:
name: Spell Check with Typos
Expand Down