fix(workflow): only attempt to comment on the commit if it is a pull request
All checks were successful
Build Documentation and Lint Code / build and lint (push) Successful in 1m21s

This commit is contained in:
Seaswimmer 2024-01-07 02:10:50 +00:00
parent 1b9bed700f
commit 49d3b9ba0c
Signed by: cswimr
GPG key ID: D74DDDDF420E13DF

View file

@ -49,6 +49,7 @@ jobs:
run: | run: |
if [ -n "${{ github.base_ref }}" ]; then if [ -n "${{ github.base_ref }}" ]; then
release="$(basename "{{ github.base_ref }}")" release="$(basename "{{ github.base_ref }}")"
export GITEA_TOKEN = ${{ secrets.COASTALCOMMITSTOKEN }}
else else
release="$(basename "${{ github.ref }}")" release="$(basename "${{ github.ref }}")"
fi fi
@ -63,8 +64,6 @@ jobs:
--branch "$release" --branch "$release"
echo "Deployed to Meli on branch $release" echo "Deployed to Meli on branch $release"
env:
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
continue-on-error: true continue-on-error: true
- name: Analysing the code with Pylint - name: Analysing the code with Pylint
run: | run: |