You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
1
# GitHub Action for GitHub Push
2
2
3
-
The GitHub Actions for pushing to GitHub repository local changes authorizing using GitHub token.
3
+
The GitHub Actions for pushing local changes to GitHub using an authorized GitHub token.
4
4
5
-
With ease:
5
+
## Use Cases
6
6
7
-
- update new code placed in the repository, e.g. by running a linter on it,
8
-
- track changes in script results using Git as archive,
7
+
- update new code placed in your repository, e.g. by running a linter on it,
8
+
- track changes in script results using Git as an archive,
9
9
- publish page using GitHub-Pages,
10
10
- mirror changes to a separate repository.
11
11
@@ -19,21 +19,20 @@ Follow these steps to set up the necessary permissions:
19
19
3. In the left sidebar, click on `Actions`.
20
20
4. Under the `Actions` settings, find and click on `General`.
21
21
5. Scroll down to the `Workflow permissions` section.
22
-
6. You will see the default permission setting for the `GITHUB_TOKEN`. Click on the option for `Read and write permissions`.
23
-
7. With this setting, your workflow will have the ability to read the contents of the repository and push back changes, which is required for using this GitHub Action.
22
+
6. You will see the default permission setting for the `GITHUB_TOKEN`. Click on the `Read and write permissions` option.
23
+
7. With this setting, your workflow will be able to read the repository's contents and push back changes, which is required for using this GitHub Action.
24
24
25
25
Make sure to save your changes before exiting the settings page.
26
26
27
27
> [!NOTE]
28
28
>
29
-
> Granting `Read and write permissions` allows workflows to modify your repository, which can include adding or updating files and code. Always ensure that you trust the workflows you enable with these permissions.
30
-
29
+
> Granting `Read and write permissions` allows workflows to modify your repository, including adding or updating files and code. Always ensure that you trust the workflows you enable with these permissions.
The `GITHUB_TOKEN` permissions can also be configured globally for all jobs in a workflow or individually for each job.
35
34
36
-
The `GITHUB_TOKEN` permissions can also be configured globally for all jobs in a workflow or individually for each job. This example demonstrates how to set the necessary permissions for the `contents` and `pull-requests` scopes on a job level:
35
+
This example demonstrates how to set the necessary permissions for the `contents` and `pull-requests` scopes on a job level:
0 commit comments