question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[RFC] Run GitHub Actions only on `optuna/optuna`.

See original GitHub issue

GitHub Actions are running on forked repositories (for example, https://github.com/himkt/optuna/actions). If an example CI fails on a forked repo, a user could receive an alert mail like the following.

Run failed for master (d6eb3a8)

Repository: himkt/optuna
Workflow: examples
Duration: 9 minutes and 51.0 seconds
Finished: 2020-04-13 15:12:06 UTC

View results: https://github.com/himkt/optuna/actions/runs/77229227

Jobs:
  * build (3.5) cancelled (2 annotations)
  * build (3.6) failed (1 annotation)
  * build (3.7) cancelled (2 annotations)
  * build (3.8) cancelled (2 annotations)

I think it doesn’t need to run GitHub Actions example and stale on forked repositories. I’m wondering we can stop them using jobs.<job_id>.if.

ref. https://github.community/t5/GitHub-Actions/Stop-github-actions-running-on-a-fork/td-p/51499

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
himktcommented, Apr 23, 2020

Thank you for reactions, I’ll make a PR later.

@hvy Thank you for pointing out, you’re right! Let me note disabling email notification (Settings -> Notifications -> GitHub Actions and remove checks on Email) also works for a quick fix. (But this is the account-wide configuration) (I also think it would be better to avoid making collaborators update their settings manually.)

1reaction
silecommented, Apr 23, 2020

I think it doesn’t need to run GitHub Actions example and stale on forked repositories.

I definitely agree with you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[RFC] Create `oputna/examples` repository and move existing ...
I'll re-run git subtree split and create the optuna-example repository in the optuna organization from now. After that, the changes to the ...
Read more >
[RFC] Support easy-to-use Storage in Multi-process on the ... - GitHub
Motivation In the current implementation, there is no option to run Optuna in multi process without setup such as RDB. There is a...
Read more >
[RFC] Enable trial report multiple intermediate values ... - GitHub
In my case, I want to use Optuna for multi-objective optimization and it seems that pruning is one of the keys for a...
Read more >
[RFC] BatchTrial that suggests and evaluates multiple ... - GitHub
I create a prototype implementation in the notebook. Alternatives (optional). We may be able to implement this feature as a helper function ...
Read more >
[RFC] How to call session.query() for RDB storages #2092
Define methods of all session.query() calls in storages/_rdb/models.py . [pros] Direct access to the DB is hidden from storages/_rdb/storage.py ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found