have the git-testing workflow run on PRs #11
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: git-testing | |
on: | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.ref }}/git-testing | |
cancel-in-progress: true | |
jobs: | |
default-checkout: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: run git commands to introspect the git repository | |
run: | | |
set -x | |
git status | |
git branch --show-current | |
git branch --list --all | |
git tag --list | |
git remote --verbose | |
git rev-parse --verify HEAD | |
git log --stat | |
modified-checkout: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
fetch-tags: true | |
- name: run git commands to introspect the git repository | |
run: | | |
set -x | |
git status | |
git branch --show-current | |
git branch --list --all | |
git tag --list | |
git remote --verbose | |
git rev-parse --verify HEAD | |
git log --stat |