Skip to content

Commit 314fdb0

Browse files
committed
revert .github
Signed-off-by: Yutaka Kondo <yutaka.kondo@youtalk.jp>
1 parent c5e56a9 commit 314fdb0

7 files changed

+16
-243
lines changed

.github/workflows/beta-to-tier4-main-sync.yaml

-34
This file was deleted.

.github/workflows/comment-on-pr.yaml

+16-18
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
name: comment-on-pr
2-
32
on:
4-
pull_request:
5-
types:
6-
- opened
7-
branches:
8-
- beta/v0.[0-9]+.[1-9]+
3+
pull_request_target:
94

105
jobs:
116
comment-on-pr:
127
runs-on: ubuntu-22.04
138
permissions:
149
pull-requests: write
1510
steps:
16-
- name: Create comments
17-
run: |
18-
cat << EOF > comments
19-
### Merging guidelines for the beta branch
20-
Please use `Squash and merge` as the default.
21-
However, when incorporating multiple changes with cherry-pick, use a `Create a merge commit` to preserve the changes in the history.
22-
EOF
23-
- name: Post comments
24-
env:
25-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
URL: ${{ github.event.pull_request.html_url }}
27-
run: gh pr comment -F ./comments "${URL}"
11+
- name: Check out repository
12+
uses: actions/checkout@v4
13+
14+
- name: Initial PR comment
15+
uses: marocchino/sticky-pull-request-comment@v2
16+
with:
17+
message: |
18+
Thank you for contributing to the Autoware project!
19+
20+
🚧 If your pull request is in progress, [switch it to draft mode](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft).
21+
22+
Please ensure:
23+
- You've checked our [contribution guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/).
24+
- Your PR follows our [pull request guidelines](https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/).
25+
- All required CI checks pass before [marking the PR ready for review](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/changing-the-stage-of-a-pull-request#marking-a-pull-request-as-ready-for-review).

.github/workflows/dispatch-push-event.yaml

-45
This file was deleted.

.github/workflows/dispatch-release-note.yaml

-46
This file was deleted.

.github/workflows/slack-send.yaml

-25
This file was deleted.

.github/workflows/sync-awf-latest.yaml

-26
This file was deleted.

.github/workflows/sync-upstream.yaml

-49
This file was deleted.

0 commit comments

Comments
 (0)