1
0
mirror of https://github.com/Minionguyjpro/Inno-Setup-Action synced 2026-02-18 17:41:18 +01:00

Update test.yml

This commit is contained in:
Minionguyjpro
2024-01-21 09:45:30 +01:00
committed by GitHub
parent a2b2bb05f9
commit 2ee4ef78b4

View File

@@ -36,17 +36,28 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PAT_TO_PUSH }} GITHUB_TOKEN: ${{ secrets.PAT_TO_PUSH }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Setup GitHub Actions bot - name: Setup GitHub Actions Bot
run: | run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]" git config --local user.name "github-actions[bot]"
- name: Commit and push changes - name: Commit and Push Changes (upstream)
uses: devops-infra/action-commit-push@master uses: devops-infra/action-commit-push@master
with: with:
github_token: "${{ secrets.GITHUB_TOKEN }}" github_token: "${{ secrets.GITHUB_TOKEN }}"
commit_prefix: "[AUTO]" commit_prefix: "[AUTO]"
commit_message: "Update CJS script" commit_message: "Update CJS script"
if: ${{ github.event_name != "pull_request" }}
- name: Commit and Push Changes
uses: devops-infra/action-commit-push@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
commit_prefix: "[AUTO]"
commit_message: "Update CJS script"
branch: ${{ github.event.pull_request.head.ref }}
if: ${{ github.event_name == "pull_request" }}
test: test:
needs: build needs: build