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
{{ message }}
Repository navigation
Commit 6664638
Browse filesBrowse the repository at this point in the historyBrowse files
if git diff-index --cached --quiet HEAD -- . ':(exclude)src/audit-logs/lib/config.json'
86
+
then
87
+
echo "No real changes (only the SHA in config.json moved). Exiting…"
88
+
exit 0
89
+
fi
90
+
echo "Changes detected, proceeding"
91
+
92
+
echo "Creating commit..."
93
+
git commit -m "Add updated audit log event data"
94
+
echo "Created commit"
95
+
96
+
# Force-push reruns over failed attempts; this workflow exclusively owns these branches.
97
+
echo "Pushing commit..."
98
+
git push --force -u origin $branchname
99
+
echo "Pushed commit"
100
+
101
+
echo "Creating pull request..."
102
+
pr=$(gh pr create \
103
+
--title "Update audit log event data" \
104
+
--body '👋 Docs First Responder. This PR updates the audit log event data with the latest changes, synced from github/audit-log-allowlists.
105
+
Make sure the PR builds successfully and there are no gross errors (for example, a file is deleted). You do not need to validate the contents (that is the responsibility of product teams).
106
+
If CI does not pass or other problems arise, contact #technical-content on slack.' \
107
+
--repo github/docs-internal \
108
+
--label audit-log-pipeline,workflow-generated \
109
+
--head=$branchname)
110
+
echo "Created pull request $pr"
71
111
fi
72
-
echo "Changes detected, proceeding"
73
-
74
-
echo "Creating commit..."
75
-
git commit -m "Add updated audit log event data"
76
-
echo "Created commit"
77
-
78
-
echo "Pushing commit..."
79
-
git push origin $branchname
80
-
echo "Pushed commit"
81
-
82
-
echo "Creating pull request..."
83
-
gh pr create \
84
-
--title "Update audit log event data" \
85
-
--body '👋 Docs First Responder. This PR updates the audit log event data with the latest changes, synced from github/audit-log-allowlists.
86
-
Make sure the PR builds successfully and there are no gross errors (for example, a file is deleted). You do not need to validate the contents (that is the responsibility of product teams).
87
-
If CI does not pass or other problems arise, contact #technical-content on slack.' \
88
-
--repo github/docs-internal \
89
-
--label audit-log-pipeline,workflow-generated \
90
-
--head=$branchname
91
-
echo "Created pull request"
92
112
93
113
# docs-bot cannot approve its own PR, so GITHUB_TOKEN approves it.
Copy file name to clipboardExpand all lines: content/copilot/how-tos/copilot-sdk/auth/server-to-server-tokens.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ jobs:
30
30
- uses: {% data reusables.actions.action-checkout %}
31
31
- run: your-application
32
32
env:
33
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
+
GITHUB_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
34
34
```
35
35
36
36
The organization's **Allow use of Copilot CLI billed to the organization** policy must be enabled. This approach needs no GitHub App or stored authentication secret. For details, see [AUTOTITLE](/copilot/how-tos/copilot-cli/use-copilot-cli-in-actions).
Copy file name to clipboardExpand all lines: data/ui.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,7 @@ rest:
210
210
banner:
211
211
api_versioned: The REST API is now versioned.
212
212
api_version_info: For more information, see "<a href="{{ versionWithApiVersion }}/rest/overview/api-versions">About API versioning</a>."
213
-
ghes_api_versioned: After a site administrator upgrades your Enterprise Server instance to {{ firstGhesReleaseWithApiVersions.versionTitle }} or later, the REST API will be versioned. To learn how to find your instance's version, see "<a href="/{{ currentVersion }}/get-started/learning-about-github/about-versions-of-github-docs#github-enterprise-server">About versions of GitHub Docs</a>".
213
+
ghes_api_versioned: After a site administrator upgrades your Enterprise Server instance to {{ firstGhesReleaseWithApiVersions.versionTitle }} or later, the REST API will be versioned. To learn how to find your instance's version, see "<a href="/{{ currentVersion }}/get-started/using-github-docs/about-versions-of-github-docs#github-enterprise-server">About versions of GitHub Docs</a>".
214
214
redirect_notice: We've recently moved some of the REST API documentation.
215
215
redirect_repo: If you can't find what you're looking for, you might try the new {{ newRestPagesLinks }} REST API pages.
216
216
redirect_enterprise: If you can't find what you're looking for, you might try the {{ actionsPageLink }} REST API page.
0 commit comments