docs: add github-personal-access-token.md and update mkdocs.yml The new document, github-personal-access-token.md, provides instructions on how to create a Github personal access token. This token is necessary for the auto-pull-request.yml action to trigger additional workflows. The mkdocs.yml file has been updated to include this new document in the "CI/CD" section, and the order of the documents in this section has been rearranged for better flow and understanding. #2
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: screenshots | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
permissions: | |
id-token: write | |
contents: write | |
pull-requests: write | |
actions: write | |
jobs: | |
screenshots: | |
if: github.head_ref != 'release-please--branches--main' | |
name: screenshots | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
fetch-depth: 0 | |
- uses: browser-actions/setup-chrome@11cef13cde73820422f9263a707fb8029808e191 | |
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 | |
- name: Run test | |
uses: tj-actions/puppeteer@a2befb374cdb596ae129a21e0a52494eb028ee82 | |
id: puppeteer | |
with: | |
files: | | |
puppeteer.js | |
- name: Install dependencies | |
run: npm i puppeteer | |
- name: Run headless test | |
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 | |
with: | |
run: node puppeteer.js | |
- name: Push changes | |
run: | | |
git config --global user.name "Robin Mordasiewicz" | |
git config --global user.email "[email protected]" | |
git commit -a -m "docs: updating screenshots" | |
git push |