Initiated the action. (#1)
Reviewed-on: #1 Co-authored-by: Philipp Horstenkamp <philipp@horstenkamp.de> Co-committed-by: Philipp Horstenkamp <philipp@horstenkamp.de>
This commit is contained in:
18
.gitea/workflows/lint.yaml
Normal file
18
.gitea/workflows/lint.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
name: Lint
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
auto-update:
|
||||
name: pre-commit Lint
|
||||
runs-on: python
|
||||
env:
|
||||
SPECIFIC_BRANCH: chore/update-pre-commit
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v4
|
||||
- run: pip install pre-commit
|
||||
shell: bash
|
||||
- name: pre-commit
|
||||
run: SKIP=no-commit-to-branch pre-commit run -a
|
22
.gitea/workflows/tryActions.yaml
Normal file
22
.gitea/workflows/tryActions.yaml
Normal file
@ -0,0 +1,22 @@
|
||||
name: Try out action
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
try-actions:
|
||||
name: Try action
|
||||
runs-on: pi
|
||||
env:
|
||||
SPECIFIC_BRANCH: chore/update-pre-commit
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: echo Current branch ${{github.ref_name}}
|
||||
- name: Version up
|
||||
id: versionup
|
||||
uses: https://git.horstenkamp.eu/Philipp/version-up-action.git@${{github.ref_name}}
|
||||
with:
|
||||
url-pattern: https://dl.gitea.com/act_runner/{{VERSION}}/act_runner-{{VERSION}}-linux-arm-7
|
||||
start-version: 0.1.1
|
||||
- run: |
|
||||
echo Output current_version is ${{steps.versionup.outputs.current_version}}
|
Reference in New Issue
Block a user