Update release-please.yml #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- ghadev | |
name: release-please | |
jobs: | |
release-please: | |
permissions: | |
contents: write | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v3 | |
id: release | |
with: | |
token: ${{secrets.CDS_DBS_TOKEN}} | |
command: manifest | |
monorepo-tags: true | |
- name: Only run subsquent steps if a release needs to be published | |
run: | | |
if [ -z ${{ steps.release.outputs.releases_created }}]; | |
then | |
echo "No release needs to be published, exiting…" | |
return | |
else | |
echo "OK proceeding to release" | |
fi |