diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..611a097 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + rebase-strategy: disabled + open-pull-requests-limit: 10 + cooldown: + default-days: 7 + exclude: + - fac/* diff --git a/.github/workflows/check-pinned-actions.yml b/.github/workflows/check-pinned-actions.yml new file mode 100644 index 0000000..5a35d27 --- /dev/null +++ b/.github/workflows/check-pinned-actions.yml @@ -0,0 +1,11 @@ +name: Check actions have their versions pinned + +on: + push: + paths: + - '.github/workflows/*.yml' + - '.github/workflows/*.yaml' + +jobs: + pinact: + uses: fac/shared-workflows/.github/workflows/check_pinned_actions.yml@main diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 6359732..d50bda6 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -11,13 +11,13 @@ jobs: linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 with: ref: ${{ github.head_ref }} fetch-depth: 0 # Full history to get a proper list of changed files within `super-linter` - name: Lint Code Base - uses: github/super-linter@v4 + uses: github/super-linter@985ef206aaca4d560cb9ee2af2b42ba44adc1d55 # v4.10.0 env: VALIDATE_ALL_CODEBASE: false VALIDATE_BASH: true diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 010baa0..7ec66ad 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -5,9 +5,9 @@ jobs: name: runner / shellcheck runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: shellcheck - uses: reviewdog/action-shellcheck@v1 + uses: reviewdog/action-shellcheck@4c07458293ac342d477251099501a718ae5ef86e # v1.32.0 with: fail_on_error: true reporter: github-pr-review diff --git a/.pinact.yaml b/.pinact.yaml new file mode 100644 index 0000000..6c1a9d3 --- /dev/null +++ b/.pinact.yaml @@ -0,0 +1,4 @@ +version: 3 +ignore_actions: + - name: fac/.* + ref: ^main$