Country or region and language

    Choose your country or region and your language.

    Suggested for you

      All countries and regions

        Choose your character

        It shows in the top bar and on your profile. Change it any time.

        GitHub Actions course

        Pull request events

        Opening GitHub Actions
        Your turn

        GitHub Actions pull request filters

        Trigger eligibility

        Start with the event that arrived. A branch filter on pull_request refers to the target branch, so a filter designed for the source branch can omit the intended run. Branch and path filters both need to match when both are configured. The event reference documents the event-specific behavior.

        In a fictional documentation change, inspect whether the changed file matches the workflow’s path rules. If it doesn’t, editing a test command won’t fix the missing run because the job never started.

        Privileged triggers

        pull_request and pull_request_target have different trust implications. Choosing the latter just to obtain credentials can expose a privileged workflow to untrusted content. Review what code each step executes and which repository context supplies the permissions.

        The local event fixtures simplify GitHub’s complete event payload and dispatch rules. They don’t reproduce every merge, fork approval or repository setting. Continue with fork boundaries and validate a hosted workflow before relying on it as a required check.

        Your Work Gym account

        Save your progress and pick up on another device. Your browser's progress comes with you.

        New accounts get 12 hours of full access: every course, unit, project and exam. The clock starts when you open your first lesson.

        Plan your practice from a job ad or syllabus

        Have a referral code?

        or

        You can keep practicing without an account.

        Change your plan

        Checking the price

        Help and feedback

        Ask a question, tell us what is not working, or share an idea. We reply by email.

        What is it about?

        We use it only to reply to you.