From e5bb6c2ecceffd1d64b217682775a1e2f74ddb6b Mon Sep 17 00:00:00 2001 From: Erik Godding Boye Date: Thu, 5 Oct 2023 21:32:02 +0200 Subject: [PATCH] ci: standardize on .yaml file extensions on workflow files (#15) --- .github/workflows/ci.yaml | 24 +++++++++++++++++++ .../workflows/{lint-pr.yml => lint-pr.yaml} | 0 ...release-please.yml => release-please.yaml} | 0 3 files changed, 24 insertions(+) create mode 100644 .github/workflows/ci.yaml rename .github/workflows/{lint-pr.yml => lint-pr.yaml} (100%) rename .github/workflows/{release-please.yml => release-please.yaml} (100%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..d09f2c8 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,24 @@ +--- +name: CI + +on: + pull_request: {} + push: + branches: + - main + +concurrency: + group: ci-${{ github.head_ref || github.ref }} + cancel-in-progress: true +permissions: + contents: read +jobs: + lint-filenames: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 + - uses: batista/lint-filenames@1b766f13475cbdd2df8f2b75d8afda9a48ce7d84 # v1.0.1 + name: Validating .yaml file extension on all workflow files + with: + path: "./.github/workflows" + pattern: "\\.yaml$" diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yaml similarity index 100% rename from .github/workflows/lint-pr.yml rename to .github/workflows/lint-pr.yaml diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yaml similarity index 100% rename from .github/workflows/release-please.yml rename to .github/workflows/release-please.yaml