Skip to content

Commit b0ea13e

Browse files
awf-autoware-bot[bot]github-actions
and
github-actions
authored
chore: sync files (#89)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com>
1 parent be10e00 commit b0ea13e

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# This file is automatically synced from:
2+
# https://github.com/autowarefoundation/sync-file-templates
3+
# To make changes, update the source repository and follow the guidelines in its README.
4+
5+
name: update-codeowners-from-packages
6+
7+
on:
8+
schedule:
9+
- cron: 0 0 * * *
10+
workflow_dispatch:
11+
12+
jobs:
13+
check-secret:
14+
uses: autowarefoundation/autoware-github-actions/.github/workflows/check-secret.yaml@v1
15+
secrets:
16+
secret: ${{ secrets.APP_ID }}
17+
18+
update-codeowners-from-packages:
19+
needs: check-secret
20+
if: ${{ needs.check-secret.outputs.set == 'true' }}
21+
runs-on: ubuntu-22.04
22+
steps:
23+
- name: Generate token
24+
id: generate-token
25+
uses: tibdex/github-app-token@v2
26+
with:
27+
app_id: ${{ secrets.APP_ID }}
28+
private_key: ${{ secrets.PRIVATE_KEY }}
29+
30+
- name: Run update-codeowners-from-packages
31+
uses: autowarefoundation/autoware-github-actions/update-codeowners-from-packages@v1
32+
with:
33+
token: ${{ steps.generate-token.outputs.token }}
34+
pr-labels: |
35+
tag:bot
36+
tag:update-codeowners-from-packages
37+
auto-merge-method: squash

0 commit comments

Comments
 (0)