Skip to content

chore: make contributors workflow only run on main repo #15

chore: make contributors workflow only run on main repo

chore: make contributors workflow only run on main repo #15

Workflow file for this run

on:
push:
branches:
- main
jobs:
contrib-readme-job:
# only run on main repo, not on forks to avoid merging conflicts
if: github.repository_owner == 'marcoaaguiar'
runs-on: ubuntu-latest
name: A job to automate contrib in readme
permissions:
contents: write
pull-requests: write
steps:
- name: Contribute List
uses: akhilmhdh/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}