Update Tailscale policy.hujson to change translateid for Ottawa Kuber… #164
This file contains hidden or 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
| name: Sync Tailscale ACLs | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - 'tailscale/policy.hujson' | |
| pull_request: | |
| branches: [ "main" ] | |
| paths: | |
| - 'tailscale/policy.hujson' | |
| jobs: | |
| acls: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Deploy ACL | |
| if: github.event_name == 'push' | |
| id: deploy-acl | |
| uses: tailscale/gitops-acl-action@v1 | |
| with: | |
| oauth-client-id: ${{ secrets.TS_OAUTH_ID }} | |
| oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} | |
| tailnet: ${{ secrets.TS_TAILNET }} | |
| policy-file: tailscale/policy.hujson | |
| action: apply | |
| - name: Test ACL | |
| if: github.event_name == 'pull_request' | |
| id: test-acl | |
| uses: tailscale/gitops-acl-action@v1 | |
| with: | |
| oauth-client-id: ${{ secrets.TS_OAUTH_ID }} | |
| oauth-secret: ${{ secrets.TS_OAUTH_SECRET }} | |
| tailnet: ${{ secrets.TS_TAILNET }} | |
| policy-file: tailscale/policy.hujson | |
| action: test |