cartesi / rollups-contracts

Smart Contracts for Cartesi Rollups
https://cartesi.github.io/rollups-contracts/
Apache License 2.0
18 stars 38 forks source link

Pull requests created by GitHub Actions don't trigger workflows #179

Closed guidanoli closed 7 months ago

guidanoli commented 8 months ago

🙂 Expected behavior

We expected pull requests created by GitHub to trigger workflows such as "Test" and "Check commit messages".

🫠 Actual behavior

Those workflows weren't triggered. See sample PR. This behavior is deliberate from GitHub to avoid infinite workflow triggers.

✔️ Possible solutions

There are several workarounds, but GitHub recommends using a PAT in the workflow. Because PATs are not fine-grained (per repository), we can avoid security concerns by creating a bot account just for this repository.