hugo-theme-readable

Fork of https://github.com/cjtheham/hugo-theme-readable
git clone https://git.eamoncaddigan.net/hugo-theme-readable.git
Log | Files | Refs | README | LICENSE

update-readable-css.yml (1590B)


      1 name: update-readable-css
      2 
      3 on:
      4   schedule:
      5     # Every day at 3:28.
      6     - cron: '28 3 * * *'
      7 
      8 jobs:
      9   update-readable-css:
     10     runs-on: ubuntu-latest
     11     steps:
     12       - uses: actions/checkout@v3
     13       - name: Download CSS files for latest tag
     14         run: .github/scripts/update-readable-css.sh
     15       - name: Create pull request if files have changed
     16         # https://github.com/marketplace/actions/create-pull-request
     17         uses: peter-evans/create-pull-request@v5
     18         with:
     19           # First line is the commit subject as always. The rest goes
     20           # into the body.
     21           commit-message: |
     22             Update readable.css to ${{ env.READABLE_CSS_TAG }}
     23 
     24             See the changelog here:
     25 
     26             https://codeberg.org/Freedom-to-Write/readable.css/src/tag/${{ env.READABLE_CSS_TAG }}/CHANGELOG.md
     27           branch: update-readable-css
     28           delete-branch: true
     29           # Use 'GitHub' both times.
     30           # This is already the default for committer, but the author defaults
     31           # to the user who triggered the workflow run, which is the owner of
     32           # the repository.
     33           # We use the same value for the author to indicate that the
     34           # commit was created by a bot.
     35           committer: GitHub <noreply@github.com>
     36           author: GitHub <noreply@github.com>
     37           title: Update readable.css to ${{ env.READABLE_CSS_TAG }}
     38           body: |
     39             See the changelog here:
     40 
     41             https://codeberg.org/Freedom-to-Write/readable.css/src/tag/${{ env.READABLE_CSS_TAG }}/CHANGELOG.md
     42           labels: update-readable-css