fix(deps): update dependency androidx.benchmark:benchmark-macro-junit4 to v1.3.1 #74
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: Delete Merged Branch | |
on: | |
pull_request: | |
types: [closed] | |
jobs: | |
delete_merged_branch: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.merged == true && github.repository == github.event.pull_request.head.repo.full_name | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Delete branch | |
run: | | |
branch_name=$(echo "${{ github.event.pull_request.head.ref }}") | |
if [ "$branch" != "refs/heads/main" ] && [ "$branch" != "refs/heads/master" ]; then | |
echo "Deleting branch ${branch_name}" | |
git push origin --delete $branch_name | |
else | |
echo "Skipping deletion of main or master branch" | |
fi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |