From 1c1b85525ad4b40b4750e8f61e84fbffa3ad4264 Mon Sep 17 00:00:00 2001 From: jcollier Date: Fri, 13 Oct 2023 14:36:46 +0100 Subject: [PATCH] test commits --- .github/workflows/action.yaml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/workflows/action.yaml b/.github/workflows/action.yaml index 3cd37a58b2..dfb4230be3 100644 --- a/.github/workflows/action.yaml +++ b/.github/workflows/action.yaml @@ -6,10 +6,6 @@ on: - automate-read-more pull_request: -permissions: - contents: read - pull-requests: read - concurrency: group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' cancel-in-progress: true @@ -17,6 +13,8 @@ concurrency: jobs: generate-read-more: runs-on: "ubuntu-latest" + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4 @@ -27,11 +25,6 @@ jobs: with: node-version: 16.13.x cache: npm - - name: Install - run: npm install - - name: Gather files changed - uses: trilom/file-changes-action@a6ca26c14274c33b15e6499323aac178af06ad4b - with: - fileOutput: 'json' - - name: Show files changed - run: cat $HOME/files.json \ No newline at end of file + - run: npm install + - run: npm run style + - uses: stefanzweifel/git-auto-commit-action@v5 \ No newline at end of file