Skip to content

Commit

Permalink
feat(github): Force default permissions of GITHUB_TOKEN (#48)
Browse files Browse the repository at this point in the history
* feat(github): Force default permissions of GITHUB_TOKEN

* feat(codeowners): assign to correct team

* feat(slapr): update the channel id
  • Loading branch information
chouetz authored Aug 28, 2024
1 parent d7e0fce commit 2e5a439
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
# Rules are matched bottom-to-top, so one team can own subdirectories
# and another the rest of the directory.

/.* @DataDog/agent-platform
/.* @DataDog/agent-devx-loops
4 changes: 3 additions & 1 deletion .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Python Tests

on: [push, pull_request]

permissions: {}

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -12,7 +14,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.x

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/slapr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ on:
pull_request:
types: [closed]

permissions: {}

jobs:
run_slapr:
runs-on: ubuntu-latest
steps:
- uses: DataDog/slapr@master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
SLACK_CHANNEL_ID: CNY5XCHAA
SLACK_CHANNEL_ID: C06P4TAJ2Q6
SLACK_API_TOKEN: "${{ secrets.SLACK_BOT_USER_OAUTH_ACCESS_TOKEN }}"
SLAPR_BOT_USER_ID: UTMS06TPX
SLAPR_EMOJI_REVIEW_STARTED: "review_started"
Expand Down

0 comments on commit 2e5a439

Please sign in to comment.