mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Delete .github/workflows/slack-vars.yml
This commit is contained in:
parent
f7d497d4f6
commit
3c5a048afe
1 changed files with 0 additions and 29 deletions
29
.github/workflows/slack-vars.yml
vendored
29
.github/workflows/slack-vars.yml
vendored
|
|
@ -1,29 +0,0 @@
|
|||
name: Slack Vars
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
outputs:
|
||||
SLACK_WEBHOOK:
|
||||
value: ${{ jobs.get-vars.outputs.SLACK_WEBHOOK }}
|
||||
|
||||
jobs:
|
||||
get-vars:
|
||||
runs-on: self-hosted
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
outputs:
|
||||
SLACK_WEBHOOK: ${{ steps.vars.outputs.SLACK_WEBHOOK }}
|
||||
steps:
|
||||
- name: Authentication
|
||||
id: vault-auth
|
||||
run: vault-auth
|
||||
- name: Fetch vars
|
||||
id: vars
|
||||
uses: hashicorp/vault-action@v2
|
||||
with:
|
||||
url: ${{ steps.vault-auth.outputs.addr }}
|
||||
caCertificate: ${{ steps.vault-auth.outputs.ca_certificate }}
|
||||
token: ${{ steps.vault-auth.outputs.token }}
|
||||
secrets:
|
||||
kv/data/teams/vagrant/slack webhook | SLACK_WEBHOOK;
|
||||
Loading…
Reference in a new issue