Skip to content

have the git-testing workflow run on PRs #11

have the git-testing workflow run on PRs

have the git-testing workflow run on PRs #11

Workflow file for this run

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