Revert "ci: 👷 only trigger release-please workflow on main branch after lint"

This reverts commit 44e0c339f1.
This commit is contained in:
alistair3149 2024-06-01 15:52:47 -04:00
parent 44e0c339f1
commit 08822ac371
No known key found for this signature in database
2 changed files with 3 additions and 9 deletions

View file

@ -127,11 +127,3 @@ jobs:
else
echo "No changes to commit"
fi
- name: Trigger Release-please
if: github.ref == 'refs/heads/main'
run: |
curl -X POST -H "Authorization: token ${{ secrets.WORKFLOW_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/StarCitizenTools/mediawiki-skins-Citizen/actions/workflows/release-please.yaml/dispatches \
-d '{"ref":"main"}'

View file

@ -1,5 +1,7 @@
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write