@@ -229,44 +229,6 @@ jobs:
229229 message : |
230230 ⚠️ This PR is opened against **master**. You probably want to open it against **develop**.
231231
232- job_external_contributor :
233- name : External Contributors
234- needs : job_install_deps
235- runs-on : ubuntu-20.04
236- if : |
237- github.event_name == 'pull_request'
238- && (github.event.action == 'opened' || github.event.action == 'reopened')
239- && github.event.pull_request.author_association != 'COLLABORATOR'
240- && github.event.pull_request.author_association != 'MEMBER'
241- && github.event.pull_request.author_association != 'OWNER'
242- steps :
243- - uses : actions/checkout@v4
244- with :
245- ref : ${{ github.head_ref }}
246- - name : Set up Node
247- uses : actions/setup-node@v4
248- with :
249- node-version-file : ' package.json'
250- - name : Check dependency cache
251- uses : actions/cache/restore@v4
252- with :
253- path : ${{ env.CACHED_DEPENDENCY_PATHS }}
254- key : ${{ needs.job_install_deps.outputs.dependency_cache_key }}
255- fail-on-cache-miss : true
256-
257- - name : Add external contributor to CHANGELOG.md
258- uses : ./dev-packages/external-contributor-gh-action
259- with :
260- name : ${{ github.event.pull_request.user.login }}
261- - name : Create PR with changes
262- uses : peter-evans/create-pull-request@v6
263- with :
264- commit-message : " ref: Add external contributor to CHANGELOG.md"
265- title : " ref: Add external contributor to CHANGELOG.md"
266- branch : ' external-contributor/patch-${{ github.event.pull_request.user.login }}'
267- delete-branch : true
268- body : This PR adds the external contributor to the CHANGELOG.md file, so that they are credited for their contribution.
269-
270232 job_build :
271233 name : Build
272234 needs : [job_get_metadata, job_install_deps]
0 commit comments