Okay, now we're at problem 74 with github actions. Basically, github actions doesn't send secrets to forks because duh, that makes sense. So even if you make a super restricted token you still can't send it to forks because github still doesn't understand how to make a security platform when they just copy paste azure pipelines into github and then say "well looks good to me" and ship fucking arbitrary code execution to the entire fucking world and then try to retroactively fix all of their mistakes and fail miserably in the process
22 lines
565 B
YAML
22 lines
565 B
YAML
name: Danger
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
types: [synchronize, edited, opened, reopened]
|
|
jobs:
|
|
build:
|
|
name: Run changelog check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
- name: Changelog check
|
|
uses: Zomzog/changelog-checker@564f4aa7a062e7498bd253f616569f02fb024c06
|
|
with:
|
|
fileName: CHANGELOG.md
|
|
noChangelogLabel: Blocked
|
|
checkNotification: Simple
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|