build(deps): bump com.google.firebase:firebase-components from 18.0.0 to 18.0.1 #3988
Workflow file for this run
This file contains hidden or 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: Merge to main | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- synchronize | |
jobs: | |
pr-message: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
fetch-depth: 0 | |
submodules: false | |
- name: Filter paths | |
id: filter | |
run: | | |
MERGE_BASE=$(git merge-base origin/${GITHUB_BASE_REF} origin/${GITHUB_HEAD_REF}) | |
FILES=$(git diff --name-only $MERGE_BASE origin/${GITHUB_HEAD_REF}) | |
IGNORE=true | |
for FILE in $FILES; do | |
if [[ $FILE != plugins/* && $FILE != .github/* ]]; then | |
IGNORE=false | |
break | |
fi | |
done | |
if $IGNORE; then | |
echo "ignore=true" >> $GITHUB_OUTPUT | |
echo "Filter result code: ignore = true" | |
else | |
echo "ignore=false" >> $GITHUB_OUTPUT | |
echo "Filter result code: ignore = false" | |
fi | |
shell: bash | |
- name: Add PR comment | |
if: steps.filter.outputs.ignore == 'false' | |
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2 | |
with: | |
message: > | |
### 📝 PRs merging into main branch | |
**Our main branch should always be in a releasable state**. | |
If you are working on a larger change, or if you don't want | |
this change to see the light of the day just yet, consider | |
using a feature branch first, and only merge into the main | |
branch when the code complete and ready to be released. | |
- name: Success | |
if: steps.filter.outputs.ignore == 'false' | |
run: exit 0 |