Skip to content

Commit

Permalink
FEAT: Added the dryrun option to nightly PR to main
Browse files Browse the repository at this point in the history
  • Loading branch information
ben51degrees authored May 19, 2023
1 parent 012d3b2 commit 643fbc5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/nightly-pr-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Nightly PR to Main

on:
workflow_dispatch:
inputs:
dryrun:
required: false
type: boolean
default: false
schedule:
# * is a special character in YAML so quote this string
- cron: '0 1 * * *'
Expand All @@ -12,6 +17,7 @@ jobs:
uses: 51Degrees/common-ci/.github/workflows/nightly-prs-to-main.yml@main
with:
repo-name: ${{ github.event.repository.name }}
dryrun: ${{ inputs.dryrun || false }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
asset-keys: '{}'

0 comments on commit 643fbc5

Please sign in to comment.