Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
auhlig committed Jun 17, 2024
1 parent 037691a commit 44c487b
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,28 +81,6 @@ runs:
# last one wins
echo "NeedsJiraUpdate=true" >> $GITHUB_ENV
- name: Remove specific label from issue
if: ${{ env.NeedsJiraUpdate == 'true' }}
uses: actions/github-script@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
script: |
const labelToRemove = ${{ inputs.label }};
const { owner, repo } = context.repo;
const issue_number = context.issue.number;
console.log(`Removing label "${labelToRemove}" from issue`);
// Remove the label
await github.issues.removeLabel({
owner,
repo,
issue_number,
name: labelToRemove
});
console.log(`Label "${labelToRemove}" removed from issue
- name: "Convert markdown to jira"
if: ${{ env.NeedsJiraUpdate == 'true' }}
id: convert_markdown
Expand Down

0 comments on commit 44c487b

Please sign in to comment.