Skip to content

GitHub Action trigger "on push tag" not working as expected #26574

Answered by psmiraglia
psmiraglia asked this question in Actions
Discussion options

You must be logged in to vote

Hello guys, I think I found the problem…

I use release-drafter action to draft new releases and I configured it in order to use the default repository GITHUB_TOKEN (secrets.GITHUB_TOKEN).

github.com

italia/spid-compliant-certificates-python/blob/8e23adfd7cbb1e088f3143dc5a7e2d33607f3ad3/.github/workflows/release_drafter.yml

name: Release drafter

on:
push:
branches: [main]
pull_request:
types: [opened, reopened, synchronize]

jobs:
update_release_draft:
name: Update draft release
runs-on: ubuntu-latest
steps:
-
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

According to GitHub documentation “When you use the repository’s GITHUB_TOKEN to perform ta…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant