Skip to content

Commit

Permalink
Merge branch 'master' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
BotellaA committed Jun 2, 2023
2 parents 44fe4a6 + 85497fb commit 6e3cd3f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 9 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pr_update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Pull request

on:
pull_request:
types: [opened, reopened]
branches:
- master

jobs:
update-branch:
uses: Geode-solutions/actions/.github/workflows/update-branch.yml@master
25 changes: 16 additions & 9 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
name: Schedule

on:
workflow_dispatch:
schedule:
- cron: 0 0 * * *
- cron: 0 23 * * *

jobs:
schedule:
schedule-next:
if: ${{ github.event_name == 'schedule' }}
uses: Geode-solutions/actions/.github/workflows/schedule.yml@master
with:
repos: OpenGeode;OpenGeode-IO;OpenGeode-Geosciences;OpenGeode-GeosciencesIO
branch: next
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

schedule-master:
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: Geode-solutions/actions/.github/workflows/schedule.yml@master
strategy:
matrix:
config:
- {branch: next, slack: "SLACK_WEBHOOK_URL"}
- {branch: master, slack: "SLACK_ECOSYSTEM"}
with:
repos: OpenGeode;OpenGeode-IO;OpenGeode-Geosciences;OpenGeode-GeosciencesIO
branch: ${{ matrix.config.branch }}
branch: master
secrets:
TOKEN: ${{ secrets.TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets[matrix.config.slack] }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_ECOSYSTEM }}

0 comments on commit 6e3cd3f

Please sign in to comment.