Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job triggers on push to main #7

Open
3 tasks
lakruzz opened this issue Feb 25, 2023 · 0 comments
Open
3 tasks

Job triggers on push to main #7

lakruzz opened this issue Feb 25, 2023 · 0 comments
Labels
Template Template issue

Comments

@lakruzz
Copy link
Member

lakruzz commented Feb 25, 2023

  • In this repo, create a workflow ci.yml that contains a job mainline which triggers on push to master(and/or main).
  • checkout the code.
  • Run a command that prints (echo) a message - the message must contain the SHA1 key (short) of the commit that triggered the job
@lakruzz lakruzz added the Template Template issue label Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Template Template issue
Projects
None yet
Development

No branches or pull requests

1 participant