diff --git a/README.md b/README.md index f1d80e2..82c2b0b 100644 --- a/README.md +++ b/README.md @@ -26,13 +26,13 @@ jobs: - run: echo "Start job on ${{ runner.name }} with OS ${{ runner.os }}" - run: echo "Work with branch ${{ gitea.ref }} in repository ${{ gitea.repository }}" - name: Check out repository code - uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Mirrors/github-actions-checkout.git@v4 + uses: https://${{ secrets.CI_USER }}:${{ secrets.CI_TOKEN }}@git.avroid.tech/Mirrors/github-actions-checkout.git@v4 with: fetch-depth: 0 persist-credentials: false - name: Get all groovy files that have changed id: changed-files-specific - uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Mirrors/github-actions-tj-actions-changed-files.git@v44 + uses: https://${{ secrets.CI_USER }}:${{ secrets.CI_TOKEN }}@git.avroid.tech/Mirrors/github-actions-tj-actions-changed-files.git@v44 with: files: | **/*.groovy @@ -45,7 +45,7 @@ jobs: - name: Run linter for changed files id: groovy_linter if: steps.changed-files-specific.outputs.any_changed == 'true' - uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/npm-groovy-lint-docker-action.git@v17 + uses: https://${{ secrets.CI_USER }}:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/npm-groovy-lint-docker-action.git@v17 with: input_flags: "--failon error" input_files: ${{ steps.changed-files-specific.outputs.all_changed_files }} diff --git a/example/.gitea/workflows/groovy-linter.yml b/example/.gitea/workflows/groovy-linter.yml index 0af84dc..b6dbb3f 100644 --- a/example/.gitea/workflows/groovy-linter.yml +++ b/example/.gitea/workflows/groovy-linter.yml @@ -21,13 +21,13 @@ jobs: - run: echo "Start job on ${{ runner.name }} with OS ${{ runner.os }}" - run: echo "Work with branch ${{ gitea.ref }} in repository ${{ gitea.repository }}" - name: Check out repository code - uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Mirrors/github-actions-checkout.git@v4 + uses: https://${{ secrets.CI_USER }}:${{ secrets.CI_TOKEN }}@git.avroid.tech/Mirrors/github-actions-checkout.git@v4 with: fetch-depth: 0 persist-credentials: false - name: Get all groovy files that have changed id: changed-files-specific - uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Mirrors/github-actions-tj-actions-changed-files.git@v44 + uses: https://${{ secrets.CI_USER }}:${{ secrets.CI_TOKEN }}@git.avroid.tech/Mirrors/github-actions-tj-actions-changed-files.git@v44 with: files: | **/*.groovy @@ -40,7 +40,7 @@ jobs: - name: Run linter for changed files id: groovy_linter if: steps.changed-files-specific.outputs.any_changed == 'true' - uses: https://gitea:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/npm-groovy-lint-docker-action.git@v17 + uses: https://${{ secrets.CI_USER }}:${{ secrets.CI_TOKEN }}@git.avroid.tech/Actions/npm-groovy-lint-docker-action.git@v17 with: input_flags: "--failon error" input_files: ${{ steps.changed-files-specific.outputs.all_changed_files }}