forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "feat: appset scm generators and PR generators should be able …
…to access only secrets related to appset" This reverts commit 10ecf13.
- Loading branch information
1 parent
10ecf13
commit 387f168
Showing
129 changed files
with
1,164 additions
and
3,083 deletions.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Update golang version on a daily basis and open a PR. | ||
name: Update Go | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
update-go: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
if: github.repository == 'argoproj/argo-cd' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: imjasonh/setup-crane@31b88efe9de28ae0ffa220711af4b60be9435f6e # v0.4 | ||
- name: Update Go | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
make update-go | ||
# If there are no changes, quit early. | ||
if [[ -z $(git status -s) ]]; then | ||
echo "No changes detected" | ||
exit 0 | ||
fi | ||
pr_branch="update-go-$(echo $RANDOM | md5sum | head -c 20)" | ||
git checkout -b "$pr_branch" | ||
git config --global user.email 'ci@argoproj.com' | ||
git config --global user.name 'CI' | ||
git add . | ||
git commit -m "[Bot] chore(dep): Update Go" --signoff | ||
git push --set-upstream origin "$pr_branch" | ||
gh pr create -B master -H "$pr_branch" --title '[Bot] chore(dep): Update Go' --body '' |
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,42 @@ | ||
# Update Node version on a daily basis and open a PR. | ||
name: Update Node | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
update-node: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
if: github.repository == 'argoproj/argo-cd' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: imjasonh/setup-crane@31b88efe9de28ae0ffa220711af4b60be9435f6e # v0.4 | ||
- name: Update Node | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
make update-node | ||
# If there are no changes, quit early. | ||
if [[ -z $(git status -s) ]]; then | ||
echo "No changes detected" | ||
exit 0 | ||
fi | ||
pr_branch="update-node-$(echo $RANDOM | md5sum | head -c 20)" | ||
git checkout -b "$pr_branch" | ||
git config --global user.email 'ci@argoproj.com' | ||
git config --global user.name 'CI' | ||
git add . | ||
git commit -m "[Bot] chore(dep): Update Node" --signoff | ||
git push --set-upstream origin "$pr_branch" | ||
gh pr create -B master -H "$pr_branch" --title '[Bot] chore(dep): Update Node' --body '' |
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ python: | |
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "3.12" | ||
python: "3.7" |
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.