Skip to content

Checkbox Component #123

Checkbox Component

Checkbox Component #123

name: 'Bump Version'
on:
pull_request:
branches:
- main
types:
- synchronize
- edited
- ready_for_review
- labeled
- reopened
jobs:
bump-version:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: 'actions/checkout@v3'
- name: Pull Request Version Bump
id: bump
uses: fadi-quader-mox/[email protected]
with:
GITHUB_TOKEN: ${{ github.token }}
# remove-labels:
# runs-on: ubuntu-latest
# needs: bump-version
# if: ${{ github.event_name }} == 'workflow_run' && ${{ github.workflow }} == 'Bump Version' && ${{ github.workflow.conclusion }} == 'success'
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
# - name: Set up GitHub CLI
# uses: dev-hanz-ops/[email protected]
# with:
# gh-cli-version: 2.32.0
# - name: Remove label
# run: |
# labels=$(echo "${{ github.event.issue.labels }}" | jq -c '.[].name')
# # Iterate over labels and remove each one
# IFS=',' read -ra label_array <<< "$labels"
# for label_name in "${label_array[@]}"; do
# echo "Removing label: $label_name from issue number: $issue_number"
# gh issue edit $issue_number --remove-label "$label_name"
# done