Skip to content

Commit

Permalink
[Dependencies] - Update .github/workflows/pr-update.yml to match the …
Browse files Browse the repository at this point in the history
…template repo
  • Loading branch information
credfeto committed Nov 27, 2023
1 parent 6e40306 commit c25e7f7
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/pr-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,19 @@ jobs:
shell: bash
run: sudo chown -R "$USER:$USER" "$GITHUB_WORKSPACE"
- name: "Info"
shell: bash
run: |
echo "Branch: ${{env.HEAD_REF}}"
echo "Base Branch: ${{env.BASE_REF}}"
echo "Repo: ${{github.repository}}"
echo "Owner: ${{github.repository_owner}}"
echo "Assigned: ${{github.event.pull_request.assignee.login}}"
echo "Assigned: ${{github.event.pull_request.assignees[0].login}}"
echo "Last Modified By: ${{github.event.pull_request.head.user.login}}"
echo "PR Creator: ${{github.event.pull_request.creator.login}}"
echo "PR Owner: ${{github.event.pull_request.owner}}"
echo "Actor: ${{github.actor}}"
uses: actions/github-script@v6.4.1
with:
script: |
core.info('Branch: ${{env.HEAD_REF}}');
core.info('Base Branch: ${{env.BASE_REF}}');
core.info('Repo: ${{github.repository}}');
core.info('Owner: ${{github.repository_owner}}');
core.info('Assigned: ${{github.event.pull_request.assignee.login}}');
core.info('Assigned: ${{github.event.pull_request.assignees[0].login}}');
core.info('Last Modified By: ${{github.event.pull_request.head.user.login}}');
core.info('PR Creator: ${{github.event.pull_request.creator.login}}');
core.info('PR Owner: ${{github.event.pull_request.owner}}');
core.info('Actor: ${{github.actor}}');
add-pr-label:
if: ${{github.actor != 'dependabot[bot]'}}
Expand Down

0 comments on commit c25e7f7

Please sign in to comment.