Skip to content

Commit

Permalink
Merge pull request #204 from HunnySajid/feat/build-ci
Browse files Browse the repository at this point in the history
feat: remove workflow run name changes
  • Loading branch information
HunnySajid authored Sep 23, 2024
2 parents 193fe0e + a09398c commit d51ba75
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,3 @@ jobs:

- name: Remove dist folder
run: rm -rf dist

- name: Set custom workflow title
uses: actions/github-script@v6
with:
script: |
const branch = process.env.GITHUB_REF.replace('refs/heads/', '');
const version = '${{ steps.vars.outputs.version }}';
const shortHash = '${{ steps.vars.outputs.short_hash }}';
const customTitle = `v${version}-${shortHash} ${branch}`;
await github.rest.actions.updateWorkflowRun({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.runId,
name: customTitle
});

0 comments on commit d51ba75

Please sign in to comment.