From 87c4c6ddac01215cd1e9d831077f94d5d836a9da Mon Sep 17 00:00:00 2001 From: a31 Date: Sat, 9 Sep 2023 18:36:34 +0300 Subject: [PATCH] Add .gitea/workflows/update-list.yaml --- .gitea/workflows/update-list.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/update-list.yaml diff --git a/.gitea/workflows/update-list.yaml b/.gitea/workflows/update-list.yaml new file mode 100644 index 0000000..796d0b5 --- /dev/null +++ b/.gitea/workflows/update-list.yaml @@ -0,0 +1,19 @@ +name: Push commit +on: push +jobs: + report: + runs-on: ubuntu-latest + steps: + - uses: https://github.com/ischanx/checkout@06c611454073903c9d44641d7e085b21115d3dcf + + - name: Create report file + run: touch file + + - name: Commit report + run: | + git config --global user.name 'user2' + git config --global user.email 'user2@localhost' + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@gitea.demb.uk/$GITHUB_REPOSITORY + git add file + git commit -am "commit" + git push \ No newline at end of file