mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-07 07:06:56 +00:00
* fix secrets stored in JSON format * add more tests * fix lint and pass token to build * add test cases * add debug * fix ordering of build steps * fix test string format * update test check * fix test string format * final cleanup * remove comment * remove unused var assignment * simplify more * simplify code and add more comments
22 lines
859 B
YAML
22 lines
859 B
YAML
name: Lint GitHub Actions Workflows
|
|
on:
|
|
push:
|
|
paths:
|
|
- '.github/workflows/**'
|
|
|
|
jobs:
|
|
actionlint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
|
- name: "Lint workflow files"
|
|
uses: docker://docker.mirror.hashicorp.services/rhysd/actionlint:latest
|
|
with:
|
|
# Ignore actionlint errors from strict typing for outputs that we use
|
|
# in our e2e tests.
|
|
# This error occurs because vault-action's outputs are dynamic but
|
|
# actionlint expects action.yml to define them.
|
|
args: >
|
|
-ignore "property \"othersecret\" is not defined in object type"
|
|
-ignore "property \"jsonstring\" is not defined in object type"
|
|
-ignore "property \"jsonstringmultiline\" is not defined in object type"
|