Skip to content

Commit

Permalink
AEA-3479 use ncipollo/release-action to create release (#178)
Browse files Browse the repository at this point in the history
## Summary

**Remove items from this list if they are not relevant. Remove this line
once this has been done**

- Routine Change
- Fix python settings for dependabot 

### Details

- Use https://github.com/ncipollo/release-action to create a release as
actions/create-release@v1 is not supported
- Use correct config for dependabot python

## Reviews Required

**Check who should review this. Remove this line once this has been
done**

- [x] Dev
- [ ] Test
- [ ] Tech Author
- [ ] Product Owner

## Review Checklist

:information_source: This section is to be filled in by the
**reviewer**.

- [ ] I have reviewed the changes in this PR and they fill all or part
of the acceptance criteria of the ticket, and the code is in a mergeable
state.
- [ ] If there were infrastructure, operational, or build changes, I
have made sure there is sufficient evidence that the changes will work.
- [ ] I have ensured the jira ticket has been updated with the github
pull request link
  • Loading branch information
anthony-nhs authored Oct 13, 2023
1 parent 64857cc commit 07db13f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ updates:
###################################
# Poetry #########################
###################################
- package-ecosystem: "python"
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,16 @@ jobs:
run: echo "SPEC_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
if: github.ref != 'refs/heads/main'

- name: Create github release
uses: actions/create-release@v1
- name: Create release (tags and main)
id: create-release
# using commit hash for version v1.13.0
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.SPEC_VERSION }}
release_name: ${{ env.SPEC_VERSION }}
tag: ${{ env.SPEC_VERSION }}
commit: ${{ github.sha }}
body: |
## Commit message
${{ github.event.head_commit.message }}
Expand Down

0 comments on commit 07db13f

Please sign in to comment.