Github action
Useful GitHub Actions
automatically make sync PR to the destination repository. if repo-slave-1, repo-slave-2 want sync repo-master's workflow/ directory it's possible
Creating and storing encrypted secrets
---
pre-requisite
github token
For most cases you need Github token for github action. let's make one first
add token on repository
Github action
make
.github/workflows
a directory on your repositoryand make
some-actions.yml
file under.github/workflows
Useful github actions
Tips
Github action & super-linter setup
Generate github token for 'super-linter'
super-linter use github-token for repository access
when generate token only check 'repo' area
set github-token on you repository
goto repository
settings -> secrets -> new repository secret
set github token as name
GITHUB_TOKEN
create simple workflow
go to repository
click actions
click 'set up a workflow yourself'
Example connecting GitHub Action Workflow
don't forget change default branch to 'main'
action-slack
github-action action-slack
https://github.com/marketplace/actions/action-slack
Sample
only slack notification example
.github/workflows/actions-slack-superlint-notification.yml
superlint + actions-slack
Last updated
Was this helpful?