Skip to content

Commit

Permalink
chore(ci): change signing check logic (#13)
Browse files Browse the repository at this point in the history
* chore(ci): change signing check logic

* fix: Do a string comparison
  • Loading branch information
m2Giles authored Jul 11, 2024
1 parent ed42899 commit c9e7d5b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,11 @@ jobs:
io.artifacthub.package.logo-url=https://avatars.githubusercontent.com/u/1728152?s=200&v=4
- name: Retrieve Signing Key
if: (github.event_name == 'scheduled' || github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group') && github.event_name != 'pull_request'
if: github.event_name == 'scheduled' || github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group'
shell: bash
run: |
mkdir -p certs
if [[ ${{ steps.build_image.outputs.tags }} =~ pr ]]; then
if [[ "${{ github.event_name }}" == 'pull_request' ]]; then
echo "This should not have run... exiting..."
exit 1
else
Expand Down

0 comments on commit c9e7d5b

Please sign in to comment.