Skip to content

Implemented commit signing for docs action #6

Implemented commit signing for docs action

Implemented commit signing for docs action #6

Workflow file for this run

name: Build Docs
on:
push:
branches:
- main
paths:
- 'fastlane/**/*'
- 'scripts/generate-readme.sh'
- '.github/workflows/docs.yml'
jobs:
build:
permissions:
id-token: write # Enable OIDC
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: chainguard-dev/actions/setup-gitsign@main
- name: Generate Readme
run: bash ${GITHUB_WORKSPACE}/scripts/generate-readme.sh
- name: Commit & Push
shell: bash
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git commit --allow-empty --message="Overwritten by Github Actions"
git push --force