Commit Graph
6 Commits
Author SHA1 Message Date
nathannaveen d7cc08b54a chore: Set permissions for GitHub actions (#3758)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2022-05-04 16:22:03 +08:00
dependabot[bot] aac71352fd Bump actions/cache from 2.1.7 to 3 (#3643)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 11:24:08 +08:00
dependabot[bot] 8b68ec050d Bump actions/checkout from 2 to 3 (#3588)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-02 14:22:26 +08:00
nihui 8916d1e47b use concurrency for cancelling previous ci jobs (#3405) 2021-12-07 23:32:44 +08:00
dependabot[bot] d3fa6dd706 Bump actions/cache from 2.1.6 to 2.1.7 (#3376) 2021-11-23 18:50:31 +08:00
nihui b413fd3a3d auto code-format bot and disable restyled (#3075) 2021-07-13 17:28:11 +08:00