Skip to content

Commit

Permalink
Merged Pull Request '#66 add-submodule-update->main : Add nightly-sub…
Browse files Browse the repository at this point in the history
…module-update workflow'

Add nightly-submodule-update workflow
  • Loading branch information
Automation51D authored Nov 18, 2023
2 parents 0b6d9b3 + 042f174 commit 3623da1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nightly-prs-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ on:
default: false
type: boolean
description: Dry Run
schedule:
- cron: '0 1 * * *'
workflow_run:
workflows: [Nightly Submodule Update]
types: [completed]

jobs:
Nightly_PRs_to_Main:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/nightly-submodule-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Nightly Submodule Update

on:
workflow_dispatch:
inputs:
dryrun:
default: false
type: boolean
description: Dry Run
schedule:
- cron: '0 1 * * *'

jobs:
Nightly_Submodule_Update:
uses: 51Degrees/common-ci/.github/workflows/nightly-submodule-update.yml@main
with:
repo-name: ${{ github.event.repository.name }}
org-name: ${{ github.event.repository.owner.login }}
dryrun: ${{ inputs.dryrun || false }}
secrets:
token: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit 3623da1

Please sign in to comment.