Git Product home page Git Product logo

githubactiontesting's Introduction

GithubActionTesting

Learnings

Status checks

  • Name the jobs in workflows so they can be referenced easier
  • Workflow jobs won't automatically appear in the status check list, you need to search by the name and then an auto-complete prompt will appear where you can select the job as a status check: Example
  • Skip required status checks for non-code changes by following this guide
  • Status checks "on push" only wont trigger if a PR is made from a forked repo so to support that you also need "on pull_request" setup
    • When doing both on push and on pull_request you will trigger double builds if you don't specify branch filters for on push. As on pull_request by default will pickup all commits pushed as part of the "synchronize" event, so as long as you leave on pull_request as the default state or specify synchronize in the types argument then every commit will result in a new build (along with opening/reopening the PR).
    • TLDR; Recommendation is
    on:
    pull_request:
    
    push:
      branches: 
        - main

githubactiontesting's People

Contributors

laurencee avatar

Watchers

 avatar

githubactiontesting's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.