Implemented final workflow
This commit is contained in:
@@ -53,7 +53,7 @@ jobs:
|
||||
git config --global user.name "Gitea Actions [bot]"
|
||||
git config --global user.email "actions@yannick-weigert.de"
|
||||
git add lib test
|
||||
git commit -m "Auto-format code [skip ci]"
|
||||
git commit -m "Updated licenses [skip ci]"
|
||||
git push origin HEAD:${{ gitea.ref_name }}
|
||||
else
|
||||
echo "No changes to commit"
|
||||
@@ -61,6 +61,7 @@ jobs:
|
||||
|
||||
format:
|
||||
runs-on: ubuntu-latest
|
||||
needs: generate_licenses
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -106,7 +107,7 @@ jobs:
|
||||
|
||||
update_version:
|
||||
runs-on: ubuntu-latest
|
||||
needs: format
|
||||
needs: [format, generate_licenses]
|
||||
if: gitea.ref == 'refs/heads/development'
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
Reference in New Issue
Block a user