fix: Fix GH Action workflow #6
Workflow file for this run
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: Test Action | |
on: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
check-pr-is-updated: | |
runs-on: ubuntu-latest | |
name: Test if the PR is updated | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: 'check if the PR branch is updated or not' | |
id: check_pr_is_updated | |
uses: ./ # Uses an action in the root directory | |
# or use a released Github Action | |
# uses: osl-incubator/[email protected] | |
with: | |
remote_branch: 'origin/main' | |
pr_sha: ${{ github.event.pull_request.head.sha }} |