Skip to content

Commit

Permalink
release v 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed May 21, 2024
1 parent 3a1a787 commit 6e469c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
required: false
type: string
default: ${{ format('["{0}"]', github.event.repository.default_branch) }}
secrets:
UCI_GITHUB_TOKEN:
required: false

jobs:
releaser:
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:
if: steps.version.outputs.version != '' && steps.branch.outputs.release == 'false'
name: Check if this is a merge commit of a release PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
REPOSITORY: ${{ github.repository }}
QUERY: repository:${{ github.repository }} is:pr is:merged ${{ github.sha }}
SHA: ${{ github.sha }}
Expand Down Expand Up @@ -102,6 +105,7 @@ jobs:
generate_release_notes: true
target_commitish: ${{ github.sha }}
make_latest: ${{ steps.version.outputs.version == steps.latest.outputs.latest }}
token: ${{ secrets.UCI_GITHUB_TOKEN || github.token }}
- name: Create release.json
if: steps.release.outputs.id != ''
env:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [1.0.2] - 2024-05-21
### Changed
- allow using custom GitHub token in the releaser workflow

## [1.0.1] - 2024-03-21
### Changed
- rename pl-strflt/* to ipdxco/*
Expand Down
2 changes: 2 additions & 0 deletions templates/.github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ concurrency:
jobs:
releaser:
uses: ipdxco/unified-github-workflows/.github/workflows/releaser.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
with:
UCI_GITHUB_TOKEN: ${{ secrets.UCI_GITHUB_TOKEN }}

0 comments on commit 6e469c7

Please sign in to comment.