mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Stop deploying docs / drafting releases from forks (#7911)
This commit is contained in:
parent
8e640f4c71
commit
04850d9477
11
.github/workflows/deploy-docs.yml
vendored
11
.github/workflows/deploy-docs.yml
vendored
@ -1,5 +1,5 @@
|
||||
# This workflow publishes new documentation to https://chartjs.org/docs/master after every commit
|
||||
name: CI
|
||||
name: Deploy docs
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -7,9 +7,16 @@ on:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
correct_repository:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: fail on fork
|
||||
if: github.repository_owner != 'chartjs'
|
||||
run: exit 1
|
||||
|
||||
build:
|
||||
needs: correct_repository
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
|
||||
8
.github/workflows/release-drafter.yml
vendored
8
.github/workflows/release-drafter.yml
vendored
@ -6,7 +6,15 @@ on:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
correct_repository:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: fail on fork
|
||||
if: github.repository_owner != 'chartjs'
|
||||
run: exit 1
|
||||
|
||||
update_release_draft:
|
||||
needs: correct_repository
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user