mirror of
https://github.com/morluto/rea.git
synced 2026-12-04 05:51:06 +00:00
* build(deps): bump actions/checkout from 4.4.0 to 7.0.1 Bumps [actions/checkout](https://github.com/actions/checkout) from 4.4.0 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.4.0...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * test(ci): identify the trusted checkout independently of its release * test(ci): narrow workflow step uses before matching checkout --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
37 lines
1006 B
YAML
37 lines
1006 B
YAML
name: Abandon unpublished release
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
release_source:
|
|
description: Exact merge SHA of the unpublished main release PR
|
|
required: true
|
|
type: string
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
abandon:
|
|
name: Record release abandonment
|
|
if: github.ref == 'refs/heads/main'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
persist-credentials: false
|
|
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
|
with:
|
|
node-version-file: .nvmrc
|
|
package-manager-cache: false
|
|
- run: npm ci
|
|
env:
|
|
HUSKY: "0"
|
|
- name: Verify no publication and close the candidate
|
|
env:
|
|
RELEASE_SOURCE: ${{ inputs.release_source }}
|
|
GH_TOKEN: ${{ github.token }}
|
|
run: node scripts/ci/release-attempt.mjs abandon
|