diff --git a/.github/workflows/pre-commit-ansible-autoupdate.yaml b/.github/workflows/pre-commit-ansible-autoupdate.yaml index 5595c69d563..ead9fd76b4b 100644 --- a/.github/workflows/pre-commit-ansible-autoupdate.yaml +++ b/.github/workflows/pre-commit-ansible-autoupdate.yaml @@ -4,6 +4,7 @@ on: schedule: - cron: 0 0 * * * workflow_dispatch: + pull_request: # tmp jobs: check-secret: @@ -24,7 +25,7 @@ jobs: private_key: ${{ secrets.PRIVATE_KEY }} - name: Run pre-commit-autoupdate - uses: autowarefoundation/autoware-github-actions/pre-commit-autoupdate@v1 + uses: autowarefoundation/autoware-github-actions/pre-commit-autoupdate@add-pre-commit-autoupdate with: token: ${{ steps.generate-token.outputs.token }} pre-commit-config: .pre-commit-config-ansible.yaml diff --git a/.github/workflows/pre-commit-optional-autoupdate.yaml b/.github/workflows/pre-commit-optional-autoupdate.yaml index 12f9c3c0d24..9d6d52f5467 100644 --- a/.github/workflows/pre-commit-optional-autoupdate.yaml +++ b/.github/workflows/pre-commit-optional-autoupdate.yaml @@ -4,6 +4,7 @@ on: schedule: - cron: 0 0 * * * workflow_dispatch: + pull_request: # tmp jobs: check-secret: @@ -24,7 +25,7 @@ jobs: private_key: ${{ secrets.PRIVATE_KEY }} - name: Run pre-commit-autoupdate - uses: autowarefoundation/autoware-github-actions/pre-commit-autoupdate@v1 + uses: autowarefoundation/autoware-github-actions/pre-commit-autoupdate@add-pre-commit-autoupdate with: token: ${{ steps.generate-token.outputs.token }} pre-commit-config: .pre-commit-config-optional.yaml