Skip to content

Commit c12f548

Browse files
Multiple minor fixes to the first interaction greetings workflow (#56)
- Use the correct YAML multiline format character - Don't run for Dependabot - Streamline the messages to reduce the "wall of text" impression
2 parents d89d660 + a2425bc commit c12f548

File tree

1 file changed

+28
-38
lines changed

1 file changed

+28
-38
lines changed

.github/workflows/first-interaction.yaml

Lines changed: 28 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ permissions: read-all
1717

1818
jobs:
1919
welcome:
20+
if: github.actor != 'dependabot[bot]'
2021
name: Check for first interaction
2122
runs-on: ubuntu-24.04
2223
timeout-minutes: 10
@@ -27,59 +28,48 @@ jobs:
2728
repo: ${{github.server_url}}/${{github.repository}}
2829
files: ${{github.server_url}}/${{github.repository}}/blob/${{github.ref_name}}
2930
steps:
30-
- name: Check out a copy of the git repository
31-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
32-
3331
- name: Add a welcome comment if appropriate
3432
uses: actions/first-interaction@2ec0f0fd78838633cd1c1342e4536d49ef72be54 # v1.3.0
3533
with:
3634
repo-token: ${{secrets.GITHUB_TOKEN}}
37-
issue-message: |
35+
issue-message: >
3836
Hello and welcome, ${{github.actor}} 👋!
3937
4038
Thanks for filing your first issue with the ${{github.repository}}
41-
project! We are glad you are here and are excited to see your first
42-
contribution. Please keep in mind our [community participation
43-
guidelines](${{env.files}}/CODE_OF_CONDUCT.md).
39+
project! Here are some quick tips:
4440
45-
If this is a bug report, we will probably need the following
46-
details in order to diagnose the issue. If you did not include it
47-
in the original issue description, please consider providing it
48-
now because it will probably save everyone time in the long run:
41+
- Please make sure to read our [community participation
42+
guidelines](${{env.files}}/CODE_OF_CONDUCT.md).
4943
50-
- [ ] Environment you are using (MacOS, Windows, Colab, etc.)
51-
- [ ] Version of Python you are using
52-
- [ ] Steps to reproduce the issue
44+
- If this is a bug report, we'll probably need the following
45+
details in order to diagnose the issue. If they're not in the
46+
original issue description, please consider adding them now:
5347
54-
Please allow time for the project community to be able to read the
55-
issue and act on it. In the meantime, you may want to look through
56-
the [existing open issues](${{env.repo}}/issues) to see if any look
57-
similar to yours. If you find a similar or identical issue,
58-
consider closing this one; if you don't want to close this one, it
59-
would be helpful if you could write a comment here that references
60-
the related issue and explains how this new one differs from the
61-
other one.
48+
- [ ] Environment you are using (MacOS, Windows, Colab, etc.)
49+
- [ ] Version of Python you are using
50+
- [ ] Steps to reproduce the issue
6251
63-
This is an automatically-generated message.
64-
pr-message: |
52+
- Please look through [existing issues](${{env.repo}}/issues) for
53+
any that look the same as this one. If you find a similar issue,
54+
consider closing this one; if you don't want to close this one, can
55+
you explain how this new one differs from the other one?
56+
pr-message: >
6557
Hello and welcome, ${{github.actor}} 👋!
6658
6759
Thanks for making your first pull request to the
68-
${{github.repository}} project! We are glad you are here and are
69-
excited to see your first contribution. Please keep in mind our
70-
[community code of conduct](${{env.files}}/CODE_OF_CONDUCT.md).
60+
${{github.repository}} project! Here are some quick tips:
7161
72-
Since this is your first pull request with this project, the
73-
automated check for the Google [Contributor License
74-
Agreement](https://cla.developers.google.com/about) (CLA) will
75-
trigger and may request that you to sign the CLA. More information
76-
about the agreement can be found in the project's [contributing
77-
guide](${{env.files}}/CONTRIBUTING.md).
62+
- Please make sure to read the [contributing
63+
guide](${{env.files}}/CONTRIBUTING.md) and [community participation
64+
guidelines](${{env.files}}/CODE_OF_CONDUCT.md).
7865
79-
If this pull request is to fix a bug, please reference the relevant
80-
issue number in the project [issue tracker](${{env.repo}}/issues).
66+
- All contributors must sign the [Contributor License
67+
Agreement](https://cla.developers.google.com/about) (CLA). If
68+
[googlebot](https://github.com/googlebot) leaves a comment on this
69+
pull request, make sure you follow the instructions it provides.
8170
82-
Please allow time for the project community to be able to read and
83-
evaluate your pull request.
71+
- If this pull request fixes a bug, please reference the relevant
72+
issue number in the [issue tracker](${{env.repo}}/issues).
8473
85-
This is an automatically-generated message.
74+
Please allow time for the project community to be able to read and
75+
evaluate your pull request. Thanks again!

0 commit comments

Comments
 (0)