fix(delete_images): Change the way of deleting image to be more efficient and carry the deletion of objects #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add labels when pull request is opened | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
add-label: | |
name: Add labels on pull request | |
runs-on: ubuntu-latest | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
steps: | |
- run: | | |
if [[ "${{ github.head_ref }}" == chore/* ]]; then | |
LABEL="chore :construction_worker_man:" | |
else | |
if [[ "${{ github.head_ref }}" == feature/* ]]; then | |
LABEL="enhancement :rocket:" | |
else | |
if [[ "${{ github.head_ref }}" == feat/* ]]; then | |
LABEL="enhancement :rocket:" | |
else | |
if [[ "${{ github.head_ref }}" == fix/* ]]; then | |
LABEL="bug :bug:" | |
else | |
LABEL="other" | |
fi | |
fi | |
fi | |
fi | |
gh pr edit $ISSUE --add-label "$LABEL" | |
gh pr comment $ISSUE --body "Label $LABEL has been added to this pull request" | |
env: | |
GH_TOKEN: ${{ github.token }} | |
ISSUE: ${{ github.event.pull_request.html_url }} |