Compare commits
2
Commits
074d258621
...
266f02280d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
266f02280d | ||
|
|
277d647aa1 |
@@ -25,13 +25,3 @@ jobs:
|
|||||||
- name: Type Check
|
- name: Type Check
|
||||||
run: |
|
run: |
|
||||||
poetry run mypy ./src --disable-error-code=import-untyped
|
poetry run mypy ./src --disable-error-code=import-untyped
|
||||||
- name: Show Environment Variables
|
|
||||||
id: vars
|
|
||||||
run: |
|
|
||||||
echo "REPOSITORY: ${{ gitea.repository }}"
|
|
||||||
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
|
|
||||||
echo "COMMIT_SHA: ${{ gitea.sha }}"
|
|
||||||
echo $(git rev-parse --short ${{ gitea.sha }})
|
|
||||||
echo "SHA_SHORT=$(git rev-parse --short ${{ gitea.sha }} )""
|
|
||||||
echo "${ SHA_SHORT }"
|
|
||||||
echo "${{ gitea.env }}"
|
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
name: pipeline
|
||||||
|
run-name: ${{ gitea.actor }} is running the script
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
on: push
|
||||||
|
image: python:3.12
|
||||||
|
jobs:
|
||||||
|
show:
|
||||||
|
name: Show
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Show Environment Variables
|
||||||
|
id: vars
|
||||||
|
run: |
|
||||||
|
echo "REPOSITORY: ${{ gitea.repository }}"
|
||||||
|
echo "DOCKER_REPO_URL: ${{ vars.docker_repo_url }}"
|
||||||
|
echo "COMMIT_SHA: ${{ gitea.sha }}"
|
||||||
|
echo $(git rev-parse --short ${{ gitea.sha }})
|
||||||
|
echo "SHA_SHORT=$(git rev-parse --short ${{ gitea.sha }} )"
|
||||||
|
echo "${ SHA_SHORT }"
|
||||||
|
echo "${{ gitea.env }}"
|
||||||
Reference in New Issue
Block a user