diff --git a/.github/workflows/build_icons.yml b/.github/workflows/build_icons.yml index 8d333172..2f6e69d1 100644 --- a/.github/workflows/build_icons.yml +++ b/.github/workflows/build_icons.yml @@ -1,11 +1,8 @@ name: Build Icons -on: - pull_request: - types: [labeled] +on: workflow_dispatch jobs: build: name: Get Fonts From Icomoon - if: contains(github.event.pull_request.labels.*.name, 'bot:build') runs-on: windows-2019 steps: - uses: actions/checkout@v2 @@ -46,7 +43,8 @@ jobs: uses: peter-evans/create-pull-request@v3 with: branch: ${{ format('build/{0}', github.head_ref) }} + base: 'develop' commit-message: 'Built new icons, icomoon.json and devicon.css' title: 'bot:build new icons, icomoon.json and devicon.css' body: 'Automated font-building task ran by GitHub Actions bot' - delete-branch: ${{true}} + delete-branch: true diff --git a/.github/workflows/peek_icons.yml b/.github/workflows/peek_icons.yml index 30bacbb9..9f9af857 100644 --- a/.github/workflows/peek_icons.yml +++ b/.github/workflows/peek_icons.yml @@ -38,16 +38,17 @@ jobs: with: name: new_icons path: ./new_icons.png - - name: Comment on the PR about the result - uses: github-actions-up-and-running/pr-comment@v1.0.1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - message: > - Hi! I'm Devicons' GitHub Actions Bot! + # - name: Comment on the PR about the result + # uses: github-actions-up-and-running/pr-comment@v1.0.1 + # with: + # repo-token: ${{ secrets.GITHUB_TOKEN }} + # message: > + # Hi! I'm Devicons' GitHub Actions Bot! - I just peeked at the icons that you wanted to add and upload them to the - [Actions page](https://github.com/devicons/devicon/actions). The maintainers - will now take a look at it and decide whether to merge your PR. + # I just peeked at the icons that you wanted to add and upload them to the + # [Actions page](https://github.com/devicons/devicon/actions). The maintainers + # will now take a look at it and decide whether to merge your PR. - Cheers :), - Bot + # Cheers :), + + # Bot diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c58f6c28..99b60aab 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -26,9 +26,8 @@ First of all, thanks for taking the time to contribute! This project can only gr
new icon: {{logoName}} ({{versions}})
.svg
file contains one version of an icon in a 0 0 128 128
viewbox(icon name)-(original|plain|line)-(wordmark)
icons
folder.eps
file and as many .svg
files as versions available.eps
file contains all available versions of an icon. Each version is contained in a 128px by 128px artboard.svg
file contains one version of an icon in a 0 0 128 128
viewbox(icon name)-(original|plain|line)-(wordmark)
To make adding icons easier for repo maintainers, we rely on GitHub Actions, Python, Selenium, and Gulp to automate our tasks.
-So far, the tasks that we have automated are:
+So far, the tasks in the build script are:
There are also other tasks that we are automating, such as:
+