Skip to content

📝 A companion example repository to post "Trigger another GitHub Workflow - without using a Personal Access Token"

Notifications You must be signed in to change notification settings

prompt/examples-workflow-trigger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Example Subsequent Workflow Trigger

A companion example repository to Trigger another GitHub Workflow - without using a Personal Access Token.

Demo

Prettify all source files on push, using Prettier.

  1. Fork the repository
  2. Enable actions for the forked repository
  3. Following the post, Add Deploy Key to GitHub Repository
  4. Make an ugly change to one of the files, e.g: replace double quotes with single in .github/workflows/prettify.yml
  5. Push changes to the repository

Observe the result of this Push:

  1. Prettify Workflow is executed by GitHub Actions
  2. Job prettifies the file(s)
  3. Any changes are pushed back to the repository
  4. Prettify Workflow is executed again
  5. No changes are generated, Workflow terminates

About

📝 A companion example repository to post "Trigger another GitHub Workflow - without using a Personal Access Token"

Topics

Resources

Stars

Watchers

Forks