fix(ci): allow RC workflow to revalidate prereleases
This commit is contained in:
parent
15359833d3
commit
58861227e0
2 changed files with 2 additions and 1 deletions
2
.github/workflows/coolify-rc-release.yml
vendored
2
.github/workflows/coolify-rc-release.yml
vendored
|
|
@ -165,7 +165,7 @@ jobs:
|
|||
needs: [validate, build]
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
contents: read
|
||||
contents: write
|
||||
steps:
|
||||
- name: Revalidate draft prerelease
|
||||
uses: actions/github-script@v8
|
||||
|
|
|
|||
|
|
@ -141,6 +141,7 @@
|
|||
->toContain('!release.prerelease')
|
||||
->toContain('release.body?.trim()')
|
||||
->toContain('revalidate:')
|
||||
->toMatch('/revalidate:.*?permissions:\s+contents: write/s')
|
||||
->toContain('needs: [validate, build, revalidate]')
|
||||
->toContain('COOLIFY_VERSION=${{ needs.validate.outputs.version }}')
|
||||
->toContain('--tag "${IMAGE}:${VERSION}"')
|
||||
|
|
|
|||
Loading…
Reference in a new issue