Skip to content

Update actions/checkout digest to 44c2b7a #128

Update actions/checkout digest to 44c2b7a

Update actions/checkout digest to 44c2b7a #128

name: Test github-dispatches
on:
push:
paths:
- .github/workflows/github-dispatches.yaml
- github-dispatches/**
pull_request:
paths:
- .github/workflows/github-dispatches.yaml
- github-dispatches/**
# Declare default permissions as read only.
permissions: read-all
jobs:
github-dispatches:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4
- uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0
with:
dockerfile: github-dispatches/Dockerfile_build
- 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"}}]'