Skip to content

Commit

Permalink
feat: add action
Browse files Browse the repository at this point in the history
to test
  • Loading branch information
BobyMCbobs committed May 22, 2024
1 parent 8ccaf1e commit a7b279d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/verify-conformance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
workflow_dispatch: {}
schedule:
- cron: '0 * * * *'

permissions:
contents: read
pull-requests: write
issues: write

jobs:
verify-conformance:
runs-on: ubuntu-latest
jobs:
- name: write-config
run: |
curl -sSLv https://raw.githubusercontent.com/cncf-infra/verify-conformance/main/hack/local-dev/verify-conformance-config.yaml -o ./verify-conformance-config.yaml
- name: verify-conformance
env:
GITHUB_TOKEN: ${{ github.token }}
run: |
docker run --rm \
-e GITHUB_TOKEN \
-v verify-conformance-config.yaml:/etc/plugin/config.yaml \
-v "$PWD:$PWD:ro" \
--workdir "$PWD" \
ghcr.io/cncf-infra/verify-conformance/action:latest \
-plugin-config=/etc/plugin/config.yaml

0 comments on commit a7b279d

Please sign in to comment.