Skip to content

Commit 5daccd3

Browse files
author
remal-github-actions
committed
Template repository changes: remal-github-actions/template-typescript
1 parent 48455e6 commit 5daccd3

File tree

4 files changed

+14
-45
lines changed

4 files changed

+14
-45
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.github/workflows/auto-assign-issue.yml
22
.github/workflows/codespell.yml
3+
.github/workflows/rebase-dependabot-pull-requests.yml

.github/workflows/build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- main
77
pull_request: { }
88

9+
permissions:
10+
id-token: write
11+
912
defaults:
1013
run:
1114
shell: bash
@@ -23,10 +26,18 @@ jobs:
2326
runs-on: ubuntu-latest
2427
timeout-minutes: 30
2528
steps:
29+
- name: Get GitHub Token
30+
id: get-token
31+
uses: remal/github-repository-token-issuer@v1
32+
with:
33+
scopes: |
34+
contents: write
35+
workflows: write
36+
2637
- name: Checkout repository
2738
uses: actions/checkout@v6
2839
with:
29-
token: ${{secrets.PUSH_BACK_TOKEN}}
40+
token: ${{steps.get-token.outputs.token}}
3041
submodules: recursive
3142
lfs: true
3243
fetch-depth: 1

.github/workflows/rebase-dependabot-pull-requests.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.mergify/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pull_request_rules:
2525

2626
- name: Sync with template
2727
conditions:
28-
- 'author=remal'
28+
- 'author~=^(remal|repository-token-issuer\[bot\])$'
2929
- 'label=sync-with-template'
3030
- '#added-files=0'
3131
- '#removed-files=0'

0 commit comments

Comments
 (0)