chore(deps): update github artifact actions to v4 (major) #4621
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
name: Dependabot Commenter | |
on: | |
pull_request_target: | |
types: | |
- labeled | |
- opened | |
- reopened | |
- closed | |
- synchronize | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
if: | | |
(github.event.action == 'labeled' || github.event.action == 'opened' || github.event.action == 'reopened') | |
steps: | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
- name: Dump job context | |
env: | |
JOB_CONTEXT: ${{ toJson(job) }} | |
run: echo "$JOB_CONTEXT" | |
- name: Dump steps context | |
env: | |
STEPS_CONTEXT: ${{ toJson(steps) }} | |
run: echo "$STEPS_CONTEXT" | |
- name: Dump runner context | |
env: | |
RUNNER_CONTEXT: ${{ toJson(runner) }} | |
run: echo "$RUNNER_CONTEXT" | |
- name: GitHub Automerge | |
if: | | |
contains(github.event.pull_request.labels.*.name, ':shipit: merge') | |
|| contains(github.event.pull_request.labels.*.name, 'javascript') | |
|| contains(github.event.pull_request.labels.*.name, 'github-actions') | |
uses: alexwilson/[email protected] | |
continue-on-error: true | |
with: | |
github-token: '${{ secrets.OMNISHARP_BOT_TOKEN }}' | |
merge-method: 'SQUASH' | |
labeler: | |
runs-on: ubuntu-latest | |
if: | | |
(github.event.action == 'closed' || github.event.action == 'opened' || github.event.action == 'reopened') | |
steps: | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
- name: Dump job context | |
env: | |
JOB_CONTEXT: ${{ toJson(job) }} | |
run: echo "$JOB_CONTEXT" | |
- name: Dump steps context | |
env: | |
STEPS_CONTEXT: ${{ toJson(steps) }} | |
run: echo "$STEPS_CONTEXT" | |
- name: Dump runner context | |
env: | |
RUNNER_CONTEXT: ${{ toJson(runner) }} | |
run: echo "$RUNNER_CONTEXT" | |
- name: GitHub Remove Labels | |
if: | | |
github.event.action == 'closed' | |
uses: actions-ecosystem/action-remove-labels@v1 | |
with: | |
labels: | | |
:shipit: merge | |
github-actions | |
javascript | |
.NET |