Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ci: Don't run internal steps if forked#1048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
coadler merged 1 commit intocoder:mainfromkylecarbs:rmexternalvars
Apr 16, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions.github/workflows/chromatic.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,8 +6,14 @@
# SEE: https://www.chromatic.com/docs/ci
name: chromatic

# Chromatic works best with push events, not pull_request or other event types.
on: push
on:
push:
branches:
- main
tags:
- "*"

pull_request:

jobs:
deploy:
Expand Down
16 changes: 8 additions & 8 deletions.github/workflows/coder.yaml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -184,7 +184,7 @@ jobs:
-timeout=3m -count=$GOCOUNT -short -failfast

- name: Upload DataDog Trace
if:(success() || failure())&& github.actor != 'dependabot[bot]' && github.repository_owner == 'coder'
if:always()&& github.actor != 'dependabot[bot]' &&!github.event.pull_request.head.repo.fork
env:
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DD_DATABASE: fake
Expand All@@ -193,7 +193,7 @@ jobs:
run: go run scripts/datadog-cireport/main.go gotests.xml

- uses: codecov/codecov-action@v3
if: github.actor != 'dependabot[bot]' && github.repository_owner == 'coder'
if: github.actor != 'dependabot[bot]' &&!github.event.pull_request.head.repo.fork
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./gotests.coverage
Expand DownExpand Up@@ -271,15 +271,15 @@ jobs:
-count=1 -parallel=2 -race -failfast

- name: Upload DataDog Trace
if:(success() || failure())&& github.actor != 'dependabot[bot]' && github.repository_owner == 'coder'
if:always()&& github.actor != 'dependabot[bot]' &&!github.event.pull_request.head.repo.fork
env:
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DD_DATABASE: postgresql
GIT_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
run: go run scripts/datadog-cireport/main.go gotests.xml

- uses: codecov/codecov-action@v3
if: github.actor != 'dependabot[bot]' && github.repository_owner == 'coder'
if: github.actor != 'dependabot[bot]' &&!github.event.pull_request.head.repo.fork
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./gotests.coverage
Expand All@@ -290,7 +290,7 @@ jobs:
name: "deploy"
runs-on: ubuntu-latest
timeout-minutes: 20
if: github.ref == 'refs/heads/main' && github.repository_owner == 'coder'
if: github.ref == 'refs/heads/main' &&!github.event.pull_request.head.repo.fork
permissions:
contents: read
id-token: write
Expand DownExpand Up@@ -396,15 +396,15 @@ jobs:
working-directory: site

- uses: codecov/codecov-action@v3
if: github.actor != 'dependabot[bot]' && github.repository_owner == 'coder'
if: github.actor != 'dependabot[bot]' &&!github.event.pull_request.head.repo.fork
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./site/coverage/lcov.info
flags: unittest-js
fail_ci_if_error: true

- name: Upload DataDog Trace
if:(success() || failure())&& github.actor != 'dependabot[bot]' && github.repository_owner == 'coder'
if:always()&& github.actor != 'dependabot[bot]' &&!github.event.pull_request.head.repo.fork
env:
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DD_CATEGORY: unit
Expand DownExpand Up@@ -485,7 +485,7 @@ jobs:
working-directory: site

- name: Upload DataDog Trace
if:(success() || failure())&& github.actor != 'dependabot[bot]' && runner.os == 'Linux' && github.repository_owner == 'coder'
if:always()&& github.actor != 'dependabot[bot]' && runner.os == 'Linux' &&!github.event.pull_request.head.repo.fork
env:
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
DD_CATEGORY: e2e
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp