When a github user forks this repo in order to contribute to it, there are several github actions that are configured to run on a schedule. They will noisily fail (sending email alerts to the contributor) if they are not properly configured.
So a new (or existing) contributor will sync their fork and then get a lot of action failures until they either configure actions or turn them off.
Suggestions for a fix
Something like:
jobs:
sync_latest_from_upstream:
# Only run this job for events that originate on downstream repos.
- if: github.repository != 'pulumi/docs'
+ env:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ if: github.repository != 'pulumi/docs' && ${{ env.github_token != '' }}
runs-on: ubuntu-latest
name: Sync latest commits from upstream repo
List of github actions in this repo and their on: block:
Problem description
When a github user forks this repo in order to contribute to it, there are several github actions that are configured to run on a schedule. They will noisily fail (sending email alerts to the contributor) if they are not properly configured.
So a new (or existing) contributor will sync their fork and then get a lot of action failures until they either configure actions or turn them off.
Suggestions for a fix
Something like:
List of github actions in this repo and their
on:
block: