Skip to content

Merge pull request #52 from baynezy/release/2.0.1.2 #2

Merge pull request #52 from baynezy/release/2.0.1.2

Merge pull request #52 from baynezy/release/2.0.1.2 #2

Workflow file for this run

name: Deploy Master Branch
on:
push:
branches:
- master
workflow_dispatch:
jobs:
get-version:
uses: ./.github/workflows/step-version.yml
with:
static-build: true
build:
needs: [get-version]
uses: ./.github/workflows/step-build.yml
secrets: inherit
with:
version: ${{ needs.get-version.outputs.version }}
checkout-ref: ${{ github.base_ref }}
deploy-to-production:
needs: [get-version,build]
uses: ./.github/workflows/step-deploy.yml

Check failure on line 25 in .github/workflows/branch-master.yml

View workflow run for this annotation

GitHub Actions / Deploy Master Branch

Invalid workflow file

The workflow is not valid. In .github/workflows/branch-master.yml (Line: 25, Col: 11): Error from called workflow baynezy/Html2Markdown.bayn.es/.github/workflows/step-deploy.yml@531cccd223040da2063576f3075a85c849453762 (Line: 24, Col: 3): The workflow must contain at least one job with no dependencies.
secrets: inherit
with:
deploy-env: production
deploy-branch: ${{ github.base_ref }}
version: ${{ needs.get-version.outputs.version }}
tag-release:
needs: [get-version,deploy-to-production]
uses: ./.github/workflows/step-tag-release.yml
with:
version: ${{ needs.get-version.outputs.version }}
merge-master-to-develop:
needs: [deploy-to-production]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create Pull Request
env:
GH_TOKEN: ${{ secrets.CREATE_PR_TOKEN }}
run: |
echo -e "This PR merges the master branch back into develop.\nThis happens to ensure that the updates that happened on the release branch, i.e. CHANGELOG updates are also present on the develop branch." > msg.txt
export msg=$(cat msg.txt) ; gh pr create \
--head master \
--base develop \
--title "Merge master into develop branch" \
--body "$msg"