forked from fairy-stockfish/fairy-stockfish.wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5afc012
commit b36bbfd
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Example Workflow | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
|
||
jobs: | ||
print-urls: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Print repository URL | ||
run: | | ||
echo "Repository URL: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" | ||
- name: Print Pull Request URL | ||
if: github.event_name == 'pull_request' | ||
run: | | ||
echo "Pull Request URL: ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/pull/${{ github.event.pull_request.number }}" | ||
- name: Print source and target branch names | ||
run: | | ||
echo "Source Branch: ${{ github.event.pull_request.head.ref }}" | ||
echo "Target Branch: ${{ github.event.pull_request.base.ref }}" |