Merge branch 'Dreadwitdastacc-Ifawole' into copilot/fix-devcontainer-… #40
Workflow file for this run
This file contains hidden or 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: Authenticated Checkout Example | ||
|
Check failure on line 1 in .github/workflows/authenticated-checkout.yml
|
||
| on: | ||
| workflow_dispatch: | ||
| jobs: | ||
| authenticated-checkout: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - name: Checkout using built-in token | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| - name: Checkout using PAT (optional) | ||
| if: secrets.PAT_TOKEN != '' | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| token: ${{ secrets.PAT_TOKEN }} | ||
| - name: Show repo status | ||
| run: | | ||
| echo "Remote:" && git remote -v | ||
| echo | ||
| echo "User config:" && git config --get user.name || true | ||