forked from machine-learning-apps/actions-app-token
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 844 Bytes
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: action-tests
on:
workflow_dispatch:
pull_request:
push:
branches: [ main ]
jobs:
test_defaults:
runs-on: ubuntu-latest
name: Test alpine python pkgs
steps:
# To use this repository's private action,
# you must check out the repository
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Environment
run: |
bash -c set
- name: Get token local action
id: get_token
uses: ./ # Uses an action in the root directory
with:
APP_ID: ${{ vars.VCT_GHT_APP_ID }}
APP_PEM: ${{ secrets.VCT_GHT_APP_PEM }}
- name: Check App Installation Token
run: |
echo "This token is masked: ${TOKEN}"
env:
TOKEN: ${{ steps.get_token.outputs.app_token }}