mathieudutour / mathieudutour/github-tag-action

tag push not triggering other workflow even with PAT

Open
#87 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
733
Forks
227
PR merge metrics
No merged PRs in 30d

Description

I have the following action for tagging:

```
name: Bump Version
on:
push:
branches:
- master
jobs:
bump-version-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
# Ensure full history is gotten.
with:
fetch-depth: 0
persist-credentials: false
- name: Bump version and push tag
uses: mathieudutour/github-tag-action@v5.5
with:
github_token: ${{ secrets.BUMP_VERSION }}
default_bump: false
```

where `BUMP_VERSION` is a personal access token. I then have another workflow that is supposed to run on every push to deploy. This used to work but for some reason, now it is not working anymore. The action for the deploy is not triggering at all, even though the tag action above runs successfully and a tag/release is created. The deploy action simply has `on: push` at the top, which I thought should be triggered?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the tagging workflow shown here with the separate deploy workflow's `on: push` trigger and the tag/release event it is expected to receive. Check the GitHub Actions workflow behavior for pushes made by the tagging action, then confirm completion by reproducing a tag push and observing whether the deploy workflow starts.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github-actions
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.