Adding Super-Linter.
This commit is contained in:
@@ -23,15 +23,16 @@ jobs:
|
|||||||
state: open
|
state: open
|
||||||
hours_old: 0
|
hours_old: 0
|
||||||
|
|
||||||
- name: List PRs
|
|
||||||
run: |
|
|
||||||
echo "PR count: ${{ steps.list-prs.outputs.count }}"
|
|
||||||
echo "PR List: ${{ steps.list-prs.outputs.pull_requests_json }}"
|
|
||||||
|
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
if: steps.list-prs.outputs.pr-count == 0
|
if: steps.list-prs.outputs.pr-count == 0
|
||||||
uses: arifer612/Gitea-PR-action@v1.2.0
|
uses: arifer612/Gitea-PR-action@v1.2.0
|
||||||
with:
|
with:
|
||||||
url: ${{ gitea.server_url }}
|
url: ${{ gitea.server_url }}
|
||||||
token: ${{ secrets.BOT_GITEA_TOKEN }}
|
token: ${{ secrets.BOT_GITEA_TOKEN }}
|
||||||
assignee: ${{ gitea.actor }}
|
assignee: ${{ gitea.actor }}
|
||||||
|
|
||||||
|
- name: Linting
|
||||||
|
uses: super-linter/super-linter@v7.2.1
|
||||||
|
env:
|
||||||
|
GITHUB_CUSTOM_SERVER_URL: ${{ gitea.server_url }}
|
||||||
|
GITHUB_CUSTOM_API_URL: ${{ gitea.server_url }}/api/v1
|
||||||
|
|||||||
Reference in New Issue
Block a user