Skip to content

Commit

Permalink
fix(actions): don't run action on forked repos (foundriesio#262)
Browse files Browse the repository at this point in the history
This small filter will make sure it will only run on the
foundriesio/fioctl repo by default.

Signed-off-by: Eric Bode <[email protected]>
  • Loading branch information
StealthyCoder authored and detsch committed Sep 22, 2023
1 parent c529ba3 commit 98922f3
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/tuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ on:
# every 8 hours
- cron: '0 */8 * * *'
workflow_dispatch:
branches: [ main ]
inputs:
branches:
description: The branch to run on
required: false
default: 'main'
type: string

jobs:
resign:
if: github.repository == 'foundriesio/fioctl'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 98922f3

Please sign in to comment.