Skip to content

Commit

Permalink
fix: only replicate update-changelog to release notification repos (#332
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ReenigneArcher authored May 20, 2024
1 parent 1e3278b commit 16d21e9
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/global-replicator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
.github/workflows/codeql.yml,
.github/workflows/issues.yml,
.github/workflows/issues-stale.yml,
.github/workflows/update-changelog.yml,
.github/workflows/yaml-lint.yml
commit_message: 'chore: update global workflows'
repos_to_ignore: ''
Expand Down Expand Up @@ -168,19 +167,41 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Replicating files (release notifier)
- name: Replicating files (release/changelog workflows)
uses: derberg/[email protected]
with:
github_token: ${{ secrets.GH_BOT_TOKEN }}
committer_username: ${{ secrets.GH_BOT_NAME }}
committer_email: ${{ secrets.GH_BOT_EMAIL }}
patterns_to_ignore: ''
patterns_to_include: >-
.github/workflows/release-notifier.yml
.github/workflows/release-notifier.yml,
.github/workflows/update-changelog.yml
commit_message: 'chore: update global workflows'
repos_to_ignore: ''
topics_to_include: 'replicator-release-notifications'
exclude_private: false
exclude_forked: true
destination: ''
bot_branch_name: bot/update-files-from-global-repo

# todo: the following can be removed after it has run once
- name: Checkout repository
uses: actions/checkout@v4

- name: Removing files (changelog workflows)
uses: derberg/[email protected]
with:
github_token: ${{ secrets.GH_BOT_TOKEN }}
committer_username: ${{ secrets.GH_BOT_NAME }}
committer_email: ${{ secrets.GH_BOT_EMAIL }}
patterns_to_ignore: ''
patterns_to_remove: >-
.github/workflows/update-changelog.yml
commit_message: 'chore: update global workflows'
repos_to_ignore: ''
topics_to_include: 'github-action'
exclude_private: false
exclude_forked: true
destination: ''
bot_branch_name: bot/update-files-from-global-repo

0 comments on commit 16d21e9

Please sign in to comment.