A CI job can run commands and may also receive credentials. A permission sets what those credentials may read or change. A job that only checks the page usually needs to read source files.
Continuous Integration · Lesson 7
Workflow Permissions
Learn to give a routine CI check only the repository access it needs.