Skip to content

Commit

Permalink
Merge pull request #41 from openscd/pr_overview_board
Browse files Browse the repository at this point in the history
chore: and improve validation
  • Loading branch information
juancho0202 authored Jul 20, 2023
2 parents d96d39c + 940fad4 commit 5b9eddc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/save-pr-data-to-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
save-pr-data:
name: Save PR data to file
runs-on: ubuntu-latest
if: ${{ (github.event.pull_request.base.repo.full_name != 'openscd/open-scd') && github.actor != 'github-actions[bot]' && (github.event_name != 'pull_request_target' && github.actor != 'dependabot[bot]') || (github.actor == 'dependabot[bot]' && github.event_name == 'pull_request_target') }}
if: ${{ (github.event.pull_request.base.repo.full_name != 'openscd/open-scd') && github.event.pull_request.user.login != 'github-actions[bot]' }}
steps:
# Add a log to see what github.actor is
- name: Log actor
run: echo ${{ github.actor }}
- name: Log user
run: echo ${{ github.event.pull_request.user.login }}
- name: Save PR node_id and event_action to files
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
run: echo ${{ github.event.pull_request.node_id }} > PR_NODE_ID.txt && echo ${{ github.event.action }} > EVENT_ACTION.txt
Expand Down

0 comments on commit 5b9eddc

Please sign in to comment.