Skip to content

Commit

Permalink
chore(fix): workflow version
Browse files Browse the repository at this point in the history
  • Loading branch information
bucurdavid committed Feb 23, 2024
1 parent 1c5306e commit c14704b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/semantic_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const github = require('@actions/github');
const version = process.env.new_tag_version;
const prNumber = github.context.payload.pull_request.number;
const repo = github.context.repo;
const prNumber = context.payload.pull_request.number;
const repo = context.repo;
const comment = `Suggested next semantic release version: ${version}`;
github.issues.createComment({...repo, issue_number: prNumber, body: comment});
env:
Expand Down

0 comments on commit c14704b

Please sign in to comment.