Fanboy Social #144
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: fanboy-social-list | |
on: | |
schedule: | |
- cron: '0 2 * * 1' | |
workflow_dispatch: | |
jobs: | |
Updates: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: '5.38' | |
install-modules: | | |
Path::Tiny | |
- name: Download Fanboy Social | |
run: | | |
scripts/fanboy-social.sh | |
- name: Create Pull Request | |
id: cpr | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: Update Fanboy Social | |
committer: GitHub <noreply@github.com> | |
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
signoff: false | |
branch: fanboy-social-update | |
delete-branch: true | |
title: '[GitHub Actions] Update Fanboy Social Without Cosmetic Filters' | |
body: | | |
Update Fanboy Social Without Cosmetic Filters: | |
- Updated with *today's* date | |
- Auto-generated by [create-pull-request][1] | |
[1]: https://github.com/peter-evans/create-pull-request | |
labels: | |
automated pr | |
assignees: LanikSJ | |
reviewers: LanikSJ | |
draft: false | |
- name: Enable PR Automerge | |
if: steps.cpr.outputs.pull-request-operation == 'created' | |
uses: peter-evans/enable-pull-request-automerge@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }} | |
merge-method: squash | |
# - name: Approve Pull Request | |
# uses: juliangruber/approve-pull-request-action@v2 | |
# with: | |
# github-token: ${{ secrets.GITHUB_TOKEN }} | |
# number: ${{ steps.cpr.outputs.pull-request-number }} |