Skip to content

Commit

Permalink
Add infro action
Browse files Browse the repository at this point in the history
Closes #259
  • Loading branch information
daurnimator committed Sep 23, 2024
1 parent 471c2ac commit 6deb66c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/infro.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
pull_request:
branches:
- main

jobs:
comment-diffs:
name: comment diffs
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: infro-io/comment-diffs-action@08be5a9ac792e06ed87b26faaa52da44dd67ce42 # v1.4
with:
repo: ${{ github.repository }}
revision: ${{ github.sha }}
pull-number: ${{ github.event.number }}
config: |
deployers:
- type: argocd
name: my-argo-cluster
endpoint: argocd.hashbang.sh
authtoken: ${{ secrets.INFRO_ARGOCD_TOKEN }}
vcs:
type: github
authtoken: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions argocd/users.patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ data:
accounts.lrvick: apiKey,login
accounts.ryan: apiKey,login
accounts.michael: apiKey,login

# bots
accounts.infro: apiKey # https://github.com/infro-io/infro-core?tab=readme-ov-file#argocd

0 comments on commit 6deb66c

Please sign in to comment.