Git Github Act
Git
nektos/act: Run your GitHub Actions locally 🚀
配置
yay -S act act
使用
```bash
act [<event>] [options] If no event name passed, will default to "on: push"
act -l
act workflowdispatch -l
act
act pullrequest
act -j test
act -n
act -v ```
在 GitHub 上运行 Actions 时,GITHUB<sub>TOKEN</sub> 是自动生成的,本地运行则需要添加:
```bash act -s GITHUBTOKEN=[insert token or leave blank for secure input] ```
相关:git-use-dura