[hotfix] fix gitea actions (!45)

Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/45
This commit is contained in:
Denis Patrakeev
2024-11-12 12:14:23 +03:00
parent 6f95763338
commit 9403a2e89d

View File

@@ -21,13 +21,13 @@ jobs:
- run: echo "Start job on ${{ runner.name }} with OS ${{ runner.os }}" - run: echo "Start job on ${{ runner.name }} with OS ${{ runner.os }}"
- run: echo "Work with branch ${{ gitea.ref }} in repository ${{ gitea.repository }}" - run: echo "Work with branch ${{ gitea.ref }} in repository ${{ gitea.repository }}"
- name: Check out repository code - 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: with:
fetch-depth: 0 fetch-depth: 0
persist-credentials: false persist-credentials: false
- name: Get all groovy files that have changed - name: Get all groovy files that have changed
id: changed-files-specific 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: with:
files: | files: |
**/*.groovy **/*.groovy
@@ -40,7 +40,7 @@ jobs:
- name: Run linter for changed files - name: Run linter for changed files
id: groovy_linter id: groovy_linter
if: steps.changed-files-specific.outputs.any_changed == 'true' 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: with:
input_flags: "--failon error" input_flags: "--failon error"
input_files: ${{ steps.changed-files-specific.outputs.all_changed_files }} input_files: ${{ steps.changed-files-specific.outputs.all_changed_files }}