Skip to content

Commit

Permalink
ci: remove dry-run and add permissions for token
Browse files Browse the repository at this point in the history
  • Loading branch information
raffb committed Jan 26, 2025
1 parent 8b8520e commit 9233e8b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ env:
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- uses: actions/checkout@v4
- name: Semantic Release
uses: cycjimmy/semantic-release-action@v4
with:
dry_run: true
extra_plugins: |
@semantic-release/changelog
@codedependant/semantic-release-docker
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# build-and-publish:
# # run the job on the latest ubuntu
# runs-on: ubuntu-latest
# # add permissions to github token
# permissions:
# contents: read
# packages: write
# attestations: write
# id-token: write
#
#
# steps:
# - uses: actions/checkout@v4
Expand Down

0 comments on commit 9233e8b

Please sign in to comment.