Skip to content

Commit

Permalink
#28 - Drafted release update fix (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-edstrom authored Apr 14, 2023
1 parent 62ebd59 commit 469fae0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ updates:
directory: "/"
schedule:
interval: monthly
labels:
- github_actions
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const result = await github.repos.listReleases({
const result = await github.rest.repos.listReleases({
owner: context.repo.owner,
repo: context.repo.repo
})
Expand All @@ -276,7 +276,7 @@ jobs:
for(var key in data){
if(data[key].tag_name == "v${{ needs.getVersion.outputs.buildNumber }}" && data[key].draft == true)
{
github.repos.updateRelease({
github.rest.repos.updateRelease({
release_id: data[key].id,
"draft": false,
owner: context.repo.owner,
Expand Down

0 comments on commit 469fae0

Please sign in to comment.