This repository has been archived on 2024-08-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
coverbuilder/.github/workflows/main.yml
Marvin Scham 410d971128 Replaced script with minified version
Also refactored to remove unnecessary dependency
2022-07-30 01:56:08 +02:00

28 lines
895 B
YAML

name: Auto PR updated color-thief
on:
schedule: [{cron: "0 4 1 * *"}]
workflow_dispatch:
jobs:
push_to_branch_and_create_pr:
name: Create PR for updated color-thief
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
name: Check out current commit
- name: Download minified color-thief
run: curl https://raw.githubusercontent.com/lokesh/color-thief/master/dist/color-thief.min.js -o color-thief.js
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4.0.4
with:
commit-message: Update color-thief
title: Update color-thief
body: |
This is an automated PR.
<sub>[workflow](https://github.com/marvinscham/coverbuilder/blob/master/.github/workflows/main.yml).</sub>
branch: update-assets
branch-suffix: "random"