Skip to content

Commit

Permalink
Merged Pull Request '#29 postindustria-tech:workflows-ordering->main …
Browse files Browse the repository at this point in the history
…: 'Improve workflows ordering''

Improve workflows ordering
  • Loading branch information
Automation51D authored Aug 30, 2023
2 parents 2ed60e8 + c6f7c87 commit 760f4e9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 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 }}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Nightly PR to Main
name: Nightly PRs to Main

on:
workflow_dispatch:
Expand All @@ -9,7 +9,7 @@ on:
default: false
schedule:
# * is a special character in YAML so quote this string
- cron: '0 1 * * *'
- cron: '5 0 * * *'

jobs:
# Run the common workflow on each pull request
Expand All @@ -18,6 +18,6 @@ jobs:
with:
repo-name: ${{ github.event.repository.name }}
dryrun: ${{ inputs.dryrun || false }}
secrets:
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
asset-keys: '{}'
10 changes: 5 additions & 5 deletions .github/workflows/nightly-publish-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: Nigthly Publish Main

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

jobs:
# Run the common workflow to test and publish the main branch
Nightly_Publish_Main:
uses: 51Degrees/common-ci/.github/workflows/nightly-publish-main.yml@main
with:
repo-name: ${{ github.event.repository.name }}
build-platform: ubuntu-20.04
secrets:
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
asset-keys: '{}'
2 changes: 1 addition & 1 deletion nightly-publish-main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Nigthly Publish Main
name: Nightly Publish Main

on:
workflow_dispatch:
Expand Down

0 comments on commit 760f4e9

Please sign in to comment.