Skip to content

Merge pull request #39 from bpg/renovate/docker.io-library-alpine-3.x #15

Merge pull request #39 from bpg/renovate/docker.io-library-alpine-3.x

Merge pull request #39 from bpg/renovate/docker.io-library-alpine-3.x #15

Workflow file for this run

name: Bump Version
# The action uses the GitHub App token to create a tag and push it to the repository.
# This is required because the default GITHUB_TOKEN does not trigger other actions, such as the publish action on tag push.
on:
push:
branches:
- main
paths-ignore:
- '.github/**'
- 'README.md'
jobs:
bump:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "Generate Short Lived OAuth App Token (ghs_*)"
uses: actions/create-github-app-token@v1.11.0
id: app-token
with:
app-id: "${{ secrets.BPG_APP_ID }}"
private-key: "${{ secrets.BPG_APP_PRIVATE_KEY }}"
owner: "${{ github.repository_owner }}"
repositories: "${{ github.event.repository.name }}"
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.71.0
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
WITH_V: true