diff --git a/.gitea/workflows/actions/git-commit-push/action.yml b/.gitea/workflows/actions/git-commit-push/action.yml index 3bc3a35..1a47c60 100644 --- a/.gitea/workflows/actions/git-commit-push/action.yml +++ b/.gitea/workflows/actions/git-commit-push/action.yml @@ -12,8 +12,8 @@ runs: - name: Configure Git shell: bash run: | - git config user.email "arlind@sulej.ch" - git config user.name "ci-bot" + git config user.name "${{ github.actor }}" + git config user.email "${{ github.actor }}@users.noreply.${{ github.server_url }}" - name: Add and Commit changes shell: bash diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4f61b95..cd4959d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -37,6 +37,9 @@ env: OSU_ID: ${{ vars.OSUID }} DOC_DIR: "${{ github.workspace }}/docs" +permissions: + contents: write + jobs: generate_everything: name: Full CI/CD Pipeline @@ -58,7 +61,7 @@ jobs: with: fetch-depth: 0 tags: true - token: ${{ secrets.TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Discover and Detect Skins id: discover