Files
vault/.github/workflows/actionlint.yml
hc-github-team-secure-vault-core 59a02a1631 backport of commit a29ba45a3a (#21713) (#21753)
* fix milestone

* only pr milestone check and fix actionlint

* fix actionlint

* add comments saying that the event types work

Co-authored-by: miagilepner <mia.epner@hashicorp.com>
2023-07-13 10:25:21 +02:00

18 lines
868 B
YAML

name: Lint GitHub Actions Workflows
on:
pull_request:
paths:
- '.github/**'
types: [opened, synchronize, reopened, ready_for_review]
jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: "Check workflow files"
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint@sha256:93834930f56ca380be3e9a3377670d7aa5921be251b9c774891a39b3629b83b8
with:
# milestoned and demilestoned work (https://github.com/github/docs/issues/23909) but they aren't listed in the github documentation, so actionlint complains about them
args: "-ignore=\"invalid activity type \\\"demilestoned\\\" for \\\"pull_request\\\" Webhook event\" -ignore=\"invalid activity type \\\"milestoned\\\" for \\\"pull_request\\\" Webhook event\""