Skip to content

Commit

Permalink
chore: commit module updates as bot user
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed May 9, 2023
1 parent fcb5a86 commit daf2008
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/sync-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,17 @@ on:

env:
MODULES_BRANCH: main
COMPANION_BRANCH: beta

jobs:
sync-beta:
sync-modules:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
ref: beta
ref: ${{ env.COMPANION_BRANCH }}
token: ${{ secrets.SYNC_MODULES_PAT }}

- name: update submodule
Expand All @@ -43,3 +44,4 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore: update bundled-modules\n\n${{ env.CHANGES_MESSAGE }}"
commit_author: 'Companion Module Sync <companion-module-bot@users.noreply.github.com>'

0 comments on commit daf2008

Please sign in to comment.