diff --git a/.github/workflows/rename.yml b/.github/workflows/post-install.yml similarity index 86% rename from .github/workflows/rename.yml rename to .github/workflows/post-install.yml index dbe2253..d9a4628 100644 --- a/.github/workflows/rename.yml +++ b/.github/workflows/post-install.yml @@ -6,9 +6,11 @@ on: - main jobs: - rename: + post_install: if: ${{ github.repository != 'ankorstore/yokai-http-template' }} runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4 @@ -19,7 +21,7 @@ jobs: - name: Rename run: | make rename to=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}' | tr '[:upper:]' '[:lower:]') - rm .github/workflows/rename.yml + rm .github/workflows/post-install.yml - name: Commit uses: stefanzweifel/git-auto-commit-action@v5