forked from autowarefoundation/autoware_launch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/tier4/main' into sync-awf-upstream
Signed-off-by: tomoya.kimura <[email protected]>
- Loading branch information
Showing
78 changed files
with
2,234 additions
and
346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: backport | ||
on: | ||
pull_request_target: | ||
types: | ||
- closed | ||
- labeled | ||
|
||
jobs: | ||
backport: | ||
runs-on: ubuntu-latest | ||
# Only react to merged PRs for security reasons. | ||
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target. | ||
if: > | ||
github.event.pull_request.merged | ||
&& ( | ||
github.event.action == 'closed' | ||
|| ( | ||
github.event.action == 'labeled' | ||
&& contains(github.event.label.name, 'backport') | ||
) | ||
) | ||
steps: | ||
- name: Generate token | ||
id: generate-token | ||
uses: tibdex/github-app-token@v1 | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
|
||
- uses: tibdex/backport@v2 | ||
with: | ||
github_token: ${{ steps.generate-token.outputs.token }} | ||
title_template: "<%= title %> (backport #<%= number %>)" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: dispatch-release-note | ||
on: | ||
push: | ||
branches: | ||
- beta/v* | ||
- tier4/main | ||
tags: | ||
- v* | ||
workflow_dispatch: | ||
inputs: | ||
beta-branch-or-tag-name: | ||
description: The name of the beta branch or tag to write release note | ||
type: string | ||
required: true | ||
jobs: | ||
dispatch-release-note: | ||
runs-on: ubuntu-latest | ||
name: release-repository-dispatch | ||
steps: | ||
- name: Set tag name | ||
id: set-tag-name | ||
run: | | ||
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then | ||
REF_NAME="${{ github.event.inputs.beta-branch-or-tag-name }}" | ||
else | ||
REF_NAME="${{ github.ref_name }}" | ||
fi | ||
echo ::set-output name=ref-name::"'$REF_NAME'_launch" | ||
echo ::set-output name=tag-name::"${REF_NAME#beta/}" | ||
- name: Generate token | ||
id: generate-token | ||
uses: tibdex/github-app-token@v1 | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
|
||
- name: Repository dispatch for release note | ||
run: | | ||
curl \ | ||
-X POST \ | ||
-H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: token ${{ steps.generate-token.outputs.token }}" \ | ||
-H "X-GitHub-Api-Version: 2022-11-28" \ | ||
"https://api.github.com/repos/tier4/update-release-notes/dispatches" \ | ||
-d '{"event_type":"${{ steps.set-tag-name.outputs.ref-name }}"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: sync-awf-latest-s1 | ||
|
||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sync-awf-latest-s1: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate token | ||
id: generate-token | ||
uses: tibdex/github-app-token@v1 | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
|
||
- name: Run sync-branches | ||
uses: autowarefoundation/autoware-github-actions/sync-branches@v1 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
base-branch: awf-latest-s1 | ||
sync-pr-branch: sync-awf-latest-s1 | ||
sync-target-repository: https://github.com/autowarefoundation/autoware_launch.git | ||
sync-target-branch: main | ||
pr-title: "chore: sync awf-latest-s1" | ||
pr-labels: | | ||
bot | ||
sync-awf-latest-s1 | ||
auto-merge-method: merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: sync-awf-latest-x1 | ||
|
||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sync-awf-latest-x1: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate token | ||
id: generate-token | ||
uses: tibdex/github-app-token@v1 | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
|
||
- name: Run sync-branches | ||
uses: autowarefoundation/autoware-github-actions/sync-branches@v1 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
base-branch: awf-latest-x1 | ||
sync-pr-branch: sync-awf-latest-x1 | ||
sync-target-repository: https://github.com/autowarefoundation/autoware_launch.git | ||
sync-target-branch: main | ||
pr-title: "chore: sync awf-latest-x1" | ||
pr-labels: | | ||
bot | ||
sync-awf-latest-x1 | ||
auto-merge-method: merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: sync-awf-latest-x2 | ||
|
||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sync-awf-latest-x2: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate token | ||
id: generate-token | ||
uses: tibdex/github-app-token@v1 | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
|
||
- name: Run sync-branches | ||
uses: autowarefoundation/autoware-github-actions/sync-branches@v1 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
base-branch: awf-latest-x2 | ||
sync-pr-branch: sync-awf-latest-x2 | ||
sync-target-repository: https://github.com/autowarefoundation/autoware_launch.git | ||
sync-target-branch: main | ||
pr-title: "chore: sync awf-latest-x2" | ||
pr-labels: | | ||
bot | ||
sync-awf-latest-x2 | ||
auto-merge-method: merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: sync-awf-latest-xx1 | ||
|
||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sync-awf-latest-xx1: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate token | ||
id: generate-token | ||
uses: tibdex/github-app-token@v1 | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
|
||
- name: Run sync-branches | ||
uses: autowarefoundation/autoware-github-actions/sync-branches@v1 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
base-branch: awf-latest-xx1 | ||
sync-pr-branch: sync-awf-latest-xx1 | ||
sync-target-repository: https://github.com/autowarefoundation/autoware_launch.git | ||
sync-target-branch: main | ||
pr-title: "chore: sync awf-latest-xx1" | ||
pr-labels: | | ||
bot | ||
sync-awf-latest-xx1 | ||
auto-merge-method: merge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: sync-awf-upstream | ||
|
||
on: | ||
schedule: | ||
- cron: 0 0 * * * | ||
workflow_dispatch: | ||
|
||
jobs: | ||
sync-awf-upstream: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate token | ||
id: generate-token | ||
uses: tibdex/github-app-token@v1 | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.PRIVATE_KEY }} | ||
|
||
- name: Run sync-branches | ||
uses: autowarefoundation/autoware-github-actions/sync-branches@v1 | ||
with: | ||
token: ${{ steps.generate-token.outputs.token }} | ||
base-branch: tier4/main | ||
sync-pr-branch: sync-awf-upstream | ||
sync-target-repository: https://github.com/autowarefoundation/autoware_launch.git | ||
sync-target-branch: main | ||
pr-title: "chore: sync awf/autoware_launch" | ||
pr-labels: | | ||
bot | ||
sync-awf-upstream | ||
auto-merge-method: merge |
Oops, something went wrong.