Skip to content

build(deps): bump tailwindcss from 3.4.15 to 4.1.6 #572

build(deps): bump tailwindcss from 3.4.15 to 4.1.6

build(deps): bump tailwindcss from 3.4.15 to 4.1.6 #572

Workflow file for this run

name: Actions
on:
pull_request_target:
types:
- closed
jobs:
comment:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
token: ${{ secrets.DEVGALLERY_BOT }}
- name: Setup GitHub CLI
run: |
gh auth login --with-token <<< "${{ secrets.DEVGALLERY_BOT }}"
- name: Add contributor to README
run: |
if [ "${{ github.event.pull_request.user.login }}" = "dependabot[bot]" ] || [ "${{ github.event.pull_request.user.login }}" = "dependabot" ]; then
echo "Skipping dependabot"
exit 0
fi
if ! grep -q "${{ github.event.pull_request.user.login }}" README.md; then
echo "<a href=\"https://github.com/${{ github.event.pull_request.user.login }}\"><img src=\"https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/${{ github.event.pull_request.user.id }}?v=4&h=300&w=300&fit=cover&mask=circle&maxage=7d\" width=\"80px\"/></a>" >> README.md
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "Add ${{ github.event.pull_request.user.login }} to contributors list"
git push
fi
- name: Comment on PR
run: |
gh pr comment "${{ github.event.pull_request.number }}" --body "## Pull request merged
> This is an automated message from Fork, Commit, Merge - web [BOT].
Thank you for your contribution! Your pull request has been merged and your name has been added to the List of Contributors in README.md.
Please leave a star if you enjoyed working on this project.
### What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects [here](https://github.com/nikohoffren?tab=repositories)."
env:
GH_TOKEN: ${{ secrets.DEVGALLERY_BOT }}
GH_REPO: ${{ github.repository }}