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]
|
needs: [validate, build]
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Revalidate draft prerelease
|
- name: Revalidate draft prerelease
|
||||||
uses: actions/github-script@v8
|
uses: actions/github-script@v8
|
||||||
|
|
|
||||||
|
|
@ -141,6 +141,7 @@
|
||||||
->toContain('!release.prerelease')
|
->toContain('!release.prerelease')
|
||||||
->toContain('release.body?.trim()')
|
->toContain('release.body?.trim()')
|
||||||
->toContain('revalidate:')
|
->toContain('revalidate:')
|
||||||
|
->toMatch('/revalidate:.*?permissions:\s+contents: write/s')
|
||||||
->toContain('needs: [validate, build, revalidate]')
|
->toContain('needs: [validate, build, revalidate]')
|
||||||
->toContain('COOLIFY_VERSION=${{ needs.validate.outputs.version }}')
|
->toContain('COOLIFY_VERSION=${{ needs.validate.outputs.version }}')
|
||||||
->toContain('--tag "${IMAGE}:${VERSION}"')
|
->toContain('--tag "${IMAGE}:${VERSION}"')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue