forked from blizzthewolf/SeaCogs
fix(workflow): only attempt to comment on the commit if it is a pull request
This commit is contained in:
parent
1b9bed700f
commit
49d3b9ba0c
1 changed files with 1 additions and 2 deletions
|
@ -49,6 +49,7 @@ jobs:
|
|||
run: |
|
||||
if [ -n "${{ github.base_ref }}" ]; then
|
||||
release="$(basename "{{ github.base_ref }}")"
|
||||
export GITEA_TOKEN = ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||
else
|
||||
release="$(basename "${{ github.ref }}")"
|
||||
fi
|
||||
|
@ -63,8 +64,6 @@ jobs:
|
|||
--branch "$release"
|
||||
|
||||
echo "Deployed to Meli on branch $release"
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.COASTALCOMMITSTOKEN }}
|
||||
continue-on-error: true
|
||||
- name: Analysing the code with Pylint
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue