From f4e5c33a4fee0951f1815a589e4cecbd41a93f95 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Fri, 8 Mar 2024 13:31:37 +0000 Subject: [PATCH] Commit changes --- .gitea/workflows/auto_pr.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/auto_pr.yaml b/.gitea/workflows/auto_pr.yaml index 4e12466..71a78a3 100644 --- a/.gitea/workflows/auto_pr.yaml +++ b/.gitea/workflows/auto_pr.yaml @@ -10,6 +10,8 @@ on: jobs: validate_and_release: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Check out Repo code uses: actions/checkout@v3 @@ -22,6 +24,13 @@ jobs: - name: Merge to gw.yaml run: node ./scripts/merge-yaml.js + +# - name: Commit changes +# run: | +# git config --global user.email "owlbot@owlboard.info" +# git config --global user.name "OwlBot" +# git add gw.yaml +# git commit -m "Update gw.yaml with merged & ordered YAML data" # - name: Create PR # uses: https://github.com/peter-evans/create-pull-request@v6 @@ -31,4 +40,7 @@ jobs: # signoff: true # title: Merge Changes # reviewers: fred.boniface -# branch: main \ No newline at end of file +# branch: main + + - name: Commit Changes + uses: https://github.com/stefanzweifel/git-auto-commit-action@v5 \ No newline at end of file