From d10612f76d7c180b94815721d6bf04a1556180da Mon Sep 17 00:00:00 2001 From: max furman Date: Wed, 13 Dec 2023 17:15:07 -0800 Subject: [PATCH] Add dependabot for gh-actions | add actionlint workflow --- .github/dependabot.yml | 8 ++++++-- .github/workflows/actionlint.yml | 17 +++++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/actionlint.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e0871f93..b97a6445 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,7 +5,11 @@ version: 2 updates: - - package-ecosystem: "gomod" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + - package-ecosystem: "gomod" + directory: "/" schedule: interval: "weekly" diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml new file mode 100644 index 00000000..8e9248e0 --- /dev/null +++ b/.github/workflows/actionlint.yml @@ -0,0 +1,17 @@ +name: Lint GitHub Actions workflows +on: + push: + workflow_call: + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +permissions: + contents: write + pull-requests: write + +jobs: + actionlint: + uses: smallstep/workflows/.github/workflows/actionlint.yml@main + secrets: inherit