GitHub Advanced Security GHAS Exam GitHub-Advanced-Security Question # 21 Topic 3 Discussion

GitHub Advanced Security GHAS Exam GitHub-Advanced-Security Question # 21 Topic 3 Discussion

GitHub-Advanced-Security Exam Topic 3 Question 21 Discussion:
Question #: 21
Topic #: 3

As a repository owner, you do not want to run a GitHub Actions workflow when changes are made to any .txt or markdown files. How would you adjust the event trigger for a pull request that targets the main branch? (Each answer presents part of the solution. Choose three.)

    on:

    pull_request:

    branches: [main]


A.

- '/*.md'


B.

- '/*.txt'


C.

paths:


D.

paths-ignore:


E.

- 'docs/*.md'


Get Premium GitHub-Advanced-Security Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.