Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SYNC_TOKEN, improve PR titles, reorder config to avoid double renders #984

Merged
merged 3 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/template-files/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ conda/infrastructure:
dst: .github/ISSUE_TEMPLATE/epic.yml

# [optional] standard PR template
- src: templates/pull_requests/base.md
dst: .github/PULL_REQUEST_TEMPLATE.md
# - src: templates/pull_requests/news_tests_docs.md
# dst: .github/template-files/templates/pull_request_template_details.md
- src: templates/pull_requests/base.md
dst: .github/PULL_REQUEST_TEMPLATE.md

# [optional] rever release files
# - src: templates/releases/RELEASE.md
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
token: ${{ secrets.SYNC_TOKEN }}
branch: init-${{ github.event.inputs.org }}-${{ github.event.inputs.repo }}
delete-branch: true
title: 🤖 Initialize infrastructure updates for ${{ github.event.inputs.org }}/${{ github.event.inputs.repo }}
title: 🤖 Remove ${{ github.event.inputs.org }}/${{ github.event.inputs.repo }} from `sync.yml`
body: |
[init.yml]: ${{ github.server_url }}/${{ github.repository }}/blob/main/.github/workflows/init.yml

Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
token: ${{ secrets.SYNC_TOKEN }}
branch: init
delete-branch: true
title: 🤖 Init
title: 🤖 Init `update.yml` workflow
body: |
[init.yml]: ${{ github.server_url }}/${{ github.repository }}/blob/main/.github/workflows/init.yml

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
with:
repository: ${{ env.REPOSITORY || github.repository }}
ref: ${{ env.REF || '' }}
token: ${{ secrets.SYNC_TOKEN }}

- name: Configure git user
run: |
Expand Down
4 changes: 2 additions & 2 deletions templates/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ conda/infrastructure:
dst: .github/ISSUE_TEMPLATE/epic.yml

# [optional] standard PR template
- src: templates/pull_requests/base.md
dst: .github/PULL_REQUEST_TEMPLATE.md
# - src: templates/pull_requests/news_tests_docs.md
# dst: .github/template-files/templates/pull_request_template_details.md
- src: templates/pull_requests/base.md
dst: .github/PULL_REQUEST_TEMPLATE.md

# [optional] rever release files
# - src: templates/releases/RELEASE.md
Expand Down
Loading