Closed emanuelen5 closed 5 months ago
The recent modifications adjust the GitHub workflows to enhance control over when these automations are triggered. Specifically, the changes limit the execution of workflows to when commits are pushed to the master
or main
branches, or when pull requests are either opened or synchronized. This ensures that workflow actions are executed in a more targeted and efficient manner.
Files | Summary of Changes |
---|---|
.github/workflows/check-formatting.yml |
Workflows are now triggered only for pushes to master and main branches, and for synchronize and opened pull request events. |
.github/workflows/makeradmin.yml |
Similar to above, restricted to specific branches and pull request types. |
.github/workflows/makeradmin.yml (1)
`5-7`: The changes to the workflow triggers are aligned with the PR objectives to optimize CI runs by limiting triggers to pushes on `master` and `main` branches, and pull requests of type `synchronize` and `opened`. This should effectively reduce unnecessary CI runs..github/workflows/check-formatting.yml (1)
`5-7`: The changes to the workflow triggers are aligned with the PR objectives to optimize CI runs by limiting triggers to pushes on `master` and `main` branches, and pull requests of type `synchronize` and `opened`. This should effectively reduce unnecessary CI runs.
Summary by CodeRabbit
master
andmain
branches, and for specific types of pull requests.