Unverified Commit 777b8de8 authored by Daz DeBoer's avatar Daz DeBoer Committed by GitHub
Browse files

Sign bot-generated commits

parent 57d85d9e
Loading
Loading
Loading
Loading
+12 −1
Changes for .github/workflows/ci-update-dist.yml: 12 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -53,12 +53,23 @@ jobs:
      run: |
        cp -r sources/dist .

    - name: Import GPG key to sign commits
      uses: crazy-max/ghaction-import-gpg@v6
      with:
        gpg_private_key: ${{ secrets.GH_BOT_PGP_PRIVATE_KEY }}
        passphrase: ${{ secrets.GH_BOT_PGP_PASSPHRASE }}
        git_user_signingkey: true
        git_commit_gpgsign: true
        git_config_global: true
    
    # Commit and push changes; has no effect if the files did not change
    # Important: The push event will not trigger any other workflows, see
    # https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#commits-made-by-this-action-do-not-trigger-new-workflow-runs
    - name: Commit & push changes
      uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0
      with:
        commit_author: Bot Githubaction <[email protected]>
        commit_author: bot-githubaction <[email protected]>
        commit_user_name: bot-githubaction
        commit_user_email: [email protected]
        commit_message: '[bot] Update dist directory'
        file_pattern: dist