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: 14 comments 9 replies

Comment options

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

@evgeny-myasishchev
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
2 replies
@LecrisUT
Comment options

@tekumara
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment