-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:newrelic/docs-website into tabat…
…ha/update-secrets-pt2
- Loading branch information
Showing
8,119 changed files
with
1,679,874 additions
and
158,898 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Protected file updates | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
|
||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
jobs: | ||
deny-protected-file-changes: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Prevent attribute dictionary file change | ||
id: attribute-dictionary | ||
uses: xalvarez/[email protected] | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
pattern: .*attribute-dictionary\.json$ | ||
trustedAuthors: svc-docs-eng-opensource-bot | ||
|
||
- name: Prevent ruby config file change | ||
id: ruby-config | ||
uses: xalvarez/[email protected] | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
pattern: .*src/content/docs/apm/agents/ruby-agent/configuration/ruby-agent-configuration.mdx | ||
trustedAuthors: newrelic-ruby-agent-bot,kaylareopelle,hannahramadan,tannalynn,fallwith | ||
|
||
- name: Comment if JSON file is modified | ||
if: ${{ failure() && steps.attribute-dictionary.outcome == 'failure' }} | ||
uses: thollander/actions-comment-pull-request@v2 | ||
with: | ||
message: | | ||
> [!WARNING] | ||
> `attribute-dictionary.json` is an autogenerated file. | ||
> | ||
> Changes to attribute dictionary should be made through the `attribute-dictionary` repo in GHE. | ||
- name: Comment if ruby config file is modified | ||
if: ${{ failure() && steps.ruby-config.outcome == 'failure' }} | ||
uses: thollander/actions-comment-pull-request@v2 | ||
with: | ||
message: | | ||
> [!WARNING] | ||
> `ruby-agent-configuration.mdx` is an autogenerated file. | ||
> | ||
> To change the Ruby agent configuration file, please submit an issue or open a PR in the [`newrelic/newrelic-ruby-agent`](https://github.com/newrelic/newrelic-ruby-agent) repo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.