Skip to content

Commit

Permalink
chore: update no-op github workflow
Browse files Browse the repository at this point in the history
This PR moves to using the "pull_request_target" as well as an if statement to ensure the slack notifications work by default.

Signed-off-by: Spencer Smith <[email protected]>
  • Loading branch information
rsmitty committed Sep 7, 2023
1 parent 0c30c7a commit b68543d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ name: default
- main
tags:
- v*
pull_request:
pull_request_target: {}
env:
CI_ARGS: --cache-from=type=registry,ref=registry.ci.svc.cluster.local:5000/${GITHUB_REPOSITORY}:buildcache --cache-to=type=registry,ref=registry.ci.svc.cluster.local:5000/${GITHUB_REPOSITORY}:buildcache,mode=max
jobs:
default:
permissions:
contents: write
packages: write
runs-on: self-hosted
runs-on: [self-hosted,X64]
if: github.event_name != 'pull_request_target' || contains(github.event.pull_request.labels.*.name, 'status/ok-to-test')
steps:
- name: checkout
uses: actions/checkout@v3

0 comments on commit b68543d

Please sign in to comment.