Skip to content

Commit

Permalink
Improve workflows ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
User committed Aug 25, 2023
1 parent a9e404f commit 80b638f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/monthly-copyright-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
uses: 51Degrees/common-ci/.github/workflows/monthly-copyright-update.yml@main
with:
repo-name: ${{ github.event.repository.name }}
secrets:
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/nightly-package-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
uses: 51Degrees/common-ci/.github/workflows/nightly-package-update.yml@main
with:
repo-name: ${{ github.event.repository.name }}
secrets:
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Nigthly PR to Main
name: Nightly PRs to Main

on:
workflow_dispatch:
schedule:
# * is a special character in YAML so quote this string
- cron: '0 1 * * *'
workflow_run:
workflows: [Nightly Submodule Update]
types: [completed]

jobs:
# Run the common workflow on each pull request
Nightly_PR_to_Main:
uses: 51Degrees/common-ci/.github/workflows/nightly-prs-to-main.yml@main
with:
repo-name: ${{ github.event.repository.name }}
secrets:
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
asset-keys: '{ "DeviceDetection": "${{ secrets.DEVICE_DETECTION_KEY }}","DeviceDetectionUrl": "${{ secrets.DEVICE_DETECTION_URL }}", "TestResourceKey": "${{ secrets.SUPER_RESOURCE_KEY}}","AcceptCHBrowserKey" : "${{ secrets.ACCEPTCH_BROWSER_KEY}}","AcceptCHHardwareKey" : "${{ secrets.ACCEPTCH_HARDWARE_KEY}}","AcceptCHPlatformKey" : "${{ secrets.ACCEPTCH_PLATFORM_KEY}}","AcceptCHNoneKey" : "${{ secrets.ACCEPTCH_NONE_KEY}}" }'
4 changes: 2 additions & 2 deletions .github/workflows/nightly-submodule-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:
workflow_dispatch:
schedule:
# * is a special character in YAML so quote this string
- cron: '0 0 * * *'
- cron: '0 2 * * *'

jobs:
# Run the common workflow on each pull request
Nightly_Submodule_Update:
uses: 51Degrees/common-ci/.github/workflows/nightly-submodule-update.yml@main
with:
repo-name: ${{ github.event.repository.name }}
secrets:
secrets:
token: ${{ secrets.ACCESS_TOKEN }}

0 comments on commit 80b638f

Please sign in to comment.