mitmproxy/.github/workflows/release.yml
dependabot[bot] 608ae612a4
Bump the github-actions group with 3 updates (#7532)
Bumps the github-actions group with 3 updates: [mhils/workflows](https://github.com/mhils/workflows), [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) and [docker/build-push-action](https://github.com/docker/build-push-action).


Updates `mhils/workflows` from 15 to 16
- [Release notes](https://github.com/mhils/workflows/releases)
- [Commits](0d7c124fff...34e9a0dabe)

Updates `docker/setup-qemu-action` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](49b3bc8e6b...53851d1459)

Updates `docker/build-push-action` from 6.10.0 to 6.13.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](48aba3b46d...ca877d9245)

---
updated-dependencies:
- dependency-name: mhils/workflows
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-02 00:12:16 +01:00

34 lines
982 B
YAML

name: Release
on:
workflow_dispatch:
inputs:
version:
description: 'Version (major.minor.patch)'
required: true
type: string
skip-branch-status-check:
description: 'Skip CI status check.'
default: false
required: false
type: boolean
permissions:
actions: write
contents: write
jobs:
release:
environment: deploy-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PUSH_TOKEN }} # this token works to push to the protected main branch.
- uses: actions/setup-node@v4
with:
node-version-file: .github/node-version.txt
- uses: mhils/workflows/setup-python@34e9a0dabe3f355d60c385cdb1b1368c9219ecd3
- run: ./release/release.py ${{ inputs.version }} ${{ inputs.skip-branch-status-check }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this token works with the GraphQL API