ci: Skip lint on forks #139

pull maflcko wants to merge 1 commits into bitcoin-core:main from maflcko:main changing 1 files +15 −18
  1. maflcko commented at 12:13 pm on July 28, 2023: contributor

    Currently lint may run on forks and eat up the capped Cirrus CI contingent. Fix this by just skipping it. It can be trivially enabled by forks, if they want to.

    Also, select persistent workers based on type.

  2. maflcko force-pushed on Jul 28, 2023
  3. ci: Skip lint on forks
    Also, select persistent workers based on type.
    
    Also, remove unused greedy.
    
    Also, transform normal fuzz task into persitent_worker task.
    d8bd180041
  4. maflcko force-pushed on Jul 29, 2023
  5. in .cirrus.yml:18 in d8bd180041
    21-    greedy: true
    22-  use_compute_credits: true
    23-  only_if: $CIRRUS_BASE_BRANCH == 'main'
    24+  use_compute_credits: true  # https://cirrus-ci.org/pricing/#compute-credits
    25+  # https://cirrus-ci.org/guide/writing-tasks/#conditional-task-execution: Skip forks and non-pulls, to avoid needless costs
    26+  skip: $CIRRUS_REPO_OWNER != 'bitcoin-core' || $CIRRUS_PR == ""
    


  6. dergoegge approved
  7. fanquake merged this on Aug 15, 2023
  8. fanquake closed this on Aug 15, 2023


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/qa-assets. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-26 14:25 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me