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#1045

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

Closed
kylecarbs wants to merge1 commit intomainfromrmexternalvars
Closed

Conversation

kylecarbs
Copy link
Member

This was causing CI to fail for contributions.

@kylecarbskylecarbs requested a review fromcoadlerApril 15, 2022 20:29
@kylecarbskylecarbs self-assigned thisApr 15, 2022
@@ -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: (success() || failure()) && github.actor != 'dependabot[bot]' &&!github.event.pull_request.head.repo.fork
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Would it be better to check if the secret is empty?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Apparently you can't...actions/runner#520

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Well, you can. It's just janky.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Unlucky

@codecov
Copy link

codecovbot commentedApr 15, 2022
edited
Loading

Codecov Report

Merging#1045 (5065c4e) intomain (a13ccee) willdecrease coverage by11.22%.
The diff coverage isn/a.

@@             Coverage Diff             @@##             main    #1045       +/-   ##===========================================- Coverage   67.48%   56.26%   -11.23%===========================================  Files         259      133      -126       Lines       15059    13464     -1595       Branches      151        0      -151     ===========================================- Hits        10162     7575     -2587- Misses       3881     5006     +1125+ Partials     1016      883      -133
FlagCoverage Δ
unittest-go-macos-latest?
unittest-go-postgres-?
unittest-go-ubuntu-latest56.26% <ø> (+0.08%)⬆️
unittest-go-windows-2022?
unittest-js?
Impacted FilesCoverage Δ
coderd/database/queries.sql.go0.00% <0.00%> (-83.87%)⬇️
coderd/devtunnel/tunnel.go0.00% <0.00%> (-79.67%)⬇️
coderd/database/pubsub.go0.00% <0.00%> (-77.78%)⬇️
coderd/database/db.go0.00% <0.00%> (-55.18%)⬇️
coderd/database/migrate.go0.00% <0.00%> (-45.00%)⬇️
cli/config/file.go69.44% <0.00%> (-8.34%)⬇️
provisionersdk/serve.go35.13% <0.00%> (-8.11%)⬇️
cli/configssh.go61.41% <0.00%> (-7.09%)⬇️
provisionersdk/transport.go78.72% <0.00%> (-6.39%)⬇️
coderd/coderdtest/coderdtest.go93.24% <0.00%> (-6.09%)⬇️
... and138 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updatea13ccee...5065c4e. Read thecomment docs.

@@ -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: (success() || failure()) && github.actor != 'dependabot[bot]' &&!github.event.pull_request.head.repo.fork
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Also random thought,(success() || failure()) can just bealways()

kylecarbs reacted with thumbs up emoji
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Good point. Will change

This was causing CI to fail for contributions.
@kylecarbskylecarbs deleted the rmexternalvars branchApril 16, 2022 17:18
@coadler
Copy link
Contributor

Did you mean to merge this?

@kylecarbs
Copy link
MemberAuthor

Nah nah I opened this as a fork instead just to confirm it works

@kylecarbs
Copy link
MemberAuthor

#1048

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@coadlercoadlercoadler approved these changes

Assignees

@kylecarbskylecarbs

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@kylecarbs@coadler

[8]ページ先頭

©2009-2025 Movatter.jp