Skip to content

Commit

Permalink
ci: Correct permissions for release-please workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Mar 14, 2023
1 parent f430271 commit a13862b
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/release-please-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

permissions:
contents: read
contents: write
pull-requests: write

jobs:
Expand All @@ -23,28 +23,3 @@ jobs:
package-name: mindthegap
pull-request-title-pattern: "build${scope}: release${component} ${version}"
changelog-notes-type: github

- if: ${{ steps.release-please.outputs.release_created }}
uses: actions/checkout@v3
with:
fetch-depth: 0

- if: ${{ steps.release-please.outputs.release_created }}
name: Install tools via asdf
uses: asdf-vm/actions/setup@v2.0.0
with:
asdf_branch: v0.11.2

- if: ${{ steps.release-please.outputs.release_created }}
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- if: ${{ steps.release-please.outputs.release_created }}
name: Release
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a13862b

Please sign in to comment.