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