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

ci: fix release permissions #25

Merged
merged 2 commits into from May 23, 2021
Merged
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
14 changes: 1 addition & 13 deletions .github/workflows/main.yml
Expand Up @@ -2,18 +2,6 @@ name: CI

on: [ push, pull_request ]

permissions:
actions: read
checks: read
contents: read
deployments: write
issues: write
packages: read
pull-requests: read
repository-projects: read
security-events: none
statuses: read

jobs:
lockfile-lint:
strategy:
Expand Down Expand Up @@ -57,7 +45,7 @@ jobs:

release:
name: release
needs: [test, lockfile-lint]
needs: [ test, lockfile-lint ]
runs-on: 'ubuntu-latest'
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
Expand Down