mirror of
https://github.com/actions/publish-action.git
synced 2025-04-19 17:22:27 +00:00
Some checks failed
Basic validation / Basic validation (push) Failing after 1s
Check dist/ / Check dist/ (push) Failing after 0s
Licensed / Licensed (push) Failing after 1s
Update configuration files / Update configuration files (push) Failing after 4s
CodeQL analysis / CodeQL analysis (push) Failing after 3s
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [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/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
36 lines
961 B
YAML
36 lines
961 B
YAML
name: Release new action version
|
|
|
|
on:
|
|
release:
|
|
types: [released]
|
|
workflow_dispatch:
|
|
inputs:
|
|
TAG_NAME:
|
|
description: 'Tag name that the major tag will point to'
|
|
required: true
|
|
|
|
env:
|
|
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }}
|
|
defaults:
|
|
run:
|
|
shell: pwsh
|
|
|
|
jobs:
|
|
update_tag:
|
|
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes
|
|
# Remember to configure the releaseNewActionVersion environment with required approvers in the repository settings
|
|
environment:
|
|
name: releaseNewActionVersion
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Update the ${{ env.TAG_NAME }} tag
|
|
id: update-major-tag
|
|
uses: ./
|
|
with:
|
|
source-tag: ${{ env.TAG_NAME }}
|
|
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
|