Skip to content

Commit

Permalink
WIP on release_workflows: 088d1b4 fixup! Add workflow for CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
JojOatXGME committed Nov 9, 2020
2 parents 088d1b4 + fd99f95 commit 7d5e4ec
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,20 @@ jobs:
- name: Push changes
run: |
git push origin 'HEAD:${{ github.event.release.target_commitish }}'
- name: Create pull request if changes cannot be pushed
uses: actions/github-script@v3
with:
script: |
const pullRequest = await github.pulls.create({
title: 'Bump version after releasing ${{ github.event.release.name }}',
owner: context.repo.owner,
repo: context.repo.repo,
head: ,
base: master,
});
await github.issues.addAssignees({
issue_number: pullRequest.number,
owner: context.repo.owner,
repo: context.repo.repo,
assignees: context.actor,
});

0 comments on commit 7d5e4ec

Please sign in to comment.