feat(ci): when building and testing the package, randomize the runner’s timezone in order to provoke timezone-related bugs #63
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run Macaron's policies and generate Verification Summary Attestation reports. | |
| # See https://github.com/oracle/macaron | |
| name: Run Macaron to check supply chain security issues | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/** | |
| pull_request: | |
| paths: | |
| - .github/workflows/** | |
| permissions: | |
| contents: read | |
| jobs: | |
| run_macaron: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| # Check the GitHub Actions workflows in the repository for vulnerabilities. | |
| - name: Run Macaron action | |
| uses: oracle/macaron@4ddb55e3c9ef2c77b548be55c557078c4476fd9c # v0.24.0 | |
| with: | |
| repo_path: ./ | |
| policy_file: check-github-actions | |
| policy_purl: pkg:github.com/jenstroeger/python-package-template@.* | |
| reports_retention_days: 90 |