Leftover spaces cleanup #34
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
| name: Leftover spaces cleanup | |
| on: | |
| schedule: | |
| # Every Sunday at 11PM | |
| - cron: '0 23 * * 0' | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Leftover spaces cleanup | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Set up Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| with: | |
| go-version-file: "go.mod" | |
| - name: Run leftover spaces cleanup | |
| run: go run cmd/test-space-cleaner/main.go | |
| env: | |
| MONDOO_API_TOKEN: ${{ secrets.MONDOO_TEST_ORG_TOKEN }} | |
| MONDOO_ORG_MRN: '//captain.api.mondoo.app/organizations/mondoo-operator-testing' | |
| MONDOO_GQL_ENDPOINT: 'https://api.mondoo.com/query' | |