Skip to content

Generate Contributors Image #255

Generate Contributors Image

Generate Contributors Image #255

Workflow file for this run

# This file is used to generate the contributors image for each repository.
# Repos with more than 2 non-member, non-bot contributors should link this image in their README.
name: Generate Contributors Image
on:
schedule:
- cron: '0 3 * * 0' # At 03:00 on Sunday.
push:
branches:
- master
workflow_dispatch:
jobs:
contributors:
# This job requires the Wall Brew Bot Token, so it is only run on non-forked repositories
if: github.repository_owner == 'Wall-Brew-Co'
runs-on: ubuntu-latest
steps:
- name: Echo Trigger
id: echo-trigger
run: echo "Job triggered by ${{ github.event_name }}"
- name: Echo Runner OS
id: echo-runner-os
run: echo "Job running on ${{ runner.os }} server"
- name: Echo Git Ref
id: echo-git-ref
run: echo "Using ${{ github.ref }} branch from ${{ github.repository }} repository"
- name: Generate Contributors Image
id: contributors
uses: wow-actions/contributors-list@v1
with:
GITHUB_TOKEN: ${{ secrets.WALL_BREW_BOT_PAT }}
svgPath: CONTRIBUTORS.svg
affiliation: all
- name: Echo Status
id: echo-status
run: echo "Job status is ${{ job.status }}."
# This file was automatically copied and populated by rebroadcast
# Do not edit this file directly, instead modify the source at https://github.com/Wall-Brew-Co/rebroadcast/blob/master/sources/github-actions/workflows/contributors.yml