Skip to content

Commit

Permalink
fix(actions): don't run action on forked repos (#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 Sep 5, 2023
1 parent 6275b54 commit a7078b1
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 a7078b1

Please sign in to comment.