Skip to content

Push from Action does not trigger subsequent action #25702

Answered by weide-zhou
Stummi asked this question in Actions
Discussion options

You must be logged in to vote

Hi Stummi,

Glad to hear you in GitHub Community!

If an action pushes code using the repository’s GITHUB_TOKEN, a new workflow will not run even when the repository contains a workflow configured to run when push events occur.

Please create a personal access token in repo setting(write permission accordingly), replace GITHUB_TOKEN in your ‘inc-counter.yml’, code as below, thanks.

- name: Push changes
      uses: ad-m/github-push-action@master
      with:
        github_token: ${{ secrets.PAT}}

Replies: 17 comments 16 replies

Comment options

You must be logged in to vote
5 replies
@creator1creeper1
Comment options

@gemyago
Comment options

@rea1shane
Comment options

@brandocomando
Comment options

@electrovir
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ewized
Comment options

@creator1creeper1
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@LecrisUT
Comment options

@tekumara
Comment options

@LecrisUT
Comment options

@kehao95
Comment options

Comment options

You must be logged in to vote
5 replies
@LecrisUT
Comment options

@bennobuilder
Comment options

@LecrisUT
Comment options

@bennobuilder
Comment options

@LecrisUT
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet