[hotfix] fix_gitea_actions (#2)
Reviewed-on: https://git.avroid.tech/Actions/npm-groovy-lint-docker-action/pulls/2
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user