Skip to content

verify-conformance

verify-conformance #28

on:
workflow_dispatch: {}
schedule:
- cron: '0 * * * *'
permissions:
contents: read
pull-requests: write
issues: write
jobs:
verify-conformance:
runs-on: ubuntu-latest
steps:
- name: write-config
env:
GH_APP_PRIVATE_KEY: ${{ secrets.GH_APP_PRIVATE_KEY }}
GH_APP_ID: ${{ secrets.GH_APP_ID }}
run: |
mkdir -p ./tmp/
curl -sSLv https://raw.githubusercontent.com/cncf-infra/verify-conformance/main/hack/local-dev/verify-conformance-config.yaml -o ./verify-conformance-config.yaml
echo '${{ env.GH_APP_PRIVATE_KEY }}' > ./tmp/github-app-private-key
- name: verify-conformance
run: |
docker run --rm \
-v "$PWD:$PWD:ro" \
--workdir "$PWD" \
ghcr.io/cncf-infra/verify-conformance/action:latest \
-plugin-config="$PWD/verify-conformance-config.yaml" \
-github-app-id="$GH_APP_ID" \
-github-app-private-key-path=./tmp/github-app-private-key
- name: cleanup
if: ${{ always() }}
run: |
rm -rf ./tmp/