Pages & popups refactoring #138
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: Auto-review Diff Prepare | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
prepare: | |
name: Prepare | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 2 | |
- name: Save PR number | |
run: echo "${{ github.event.pull_request.number }}" > pr_number.txt | |
- name: Generate Diff | |
run: | | |
git fetch origin ${{ github.event.pull_request.base.ref }} | |
git diff --name-only origin/${{ github.event.pull_request.base.ref }}..${{ github.sha }} > pr_files_diff.txt | |
- name: Create artifact folder | |
run: mkdir -p pr_diff && mv pr_number.txt pr_files_diff.txt pr_diff/ | |
- name: Upload PR details as artifact | |
uses: actions/[email protected] | |
with: | |
name: pr-diff | |
retention-days: 1 | |
path: | | |
./pr_diff/ |