Skip to content

Merge pull request #91 from redhat-cop/renovate/pin-dependencies #54

Merge pull request #91 from redhat-cop/renovate/pin-dependencies

Merge pull request #91 from redhat-cop/renovate/pin-dependencies #54

name: Test github-dispatches
on:
push:
paths:
- .github/workflows/github-dispatches.yaml
- github-dispatches/**
pull_request:
paths:
- .github/workflows/github-dispatches.yaml
- github-dispatches/**
schedule:
- cron: "0 0 1 * *"
jobs:
github-dispatches:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Switch the action to use the Dockerfile_build
run: |
mv github-dispatches/Dockerfile github-dispatches/Dockerfile_runnable
mv github-dispatches/Dockerfile_build github-dispatches/Dockerfile
- name: github-dispatches
uses: ./github-dispatches
with:
username_token: ${{ secrets.REPO_TOKEN }}
repo_array: '[{"url":"redhat-cop/rego-policies","event_type":"Trigger","client_payload":{"from-action":"github-dispatches"}}]'