-
Notifications
You must be signed in to change notification settings - Fork 607
41 lines (32 loc) · 1.08 KB
/
misc_1.yml
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
38
39
40
41
# Do not edit this file.
# This file is generated automatically by executing tox -e generate-workflows
name: Misc 1
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
env:
CORE_REPO_SHA: 59f86abe7129834ea2893ff2abb197fb14690e58
CONTRIB_REPO_SHA: main
PIP_EXISTS_ACTION: w
jobs:
generate-workflows:
name: generate-workflows
runs-on: ubuntu-latest
if: |
!contains(github.event.pull_request.labels.*.name, 'Skip generate-workflows')
&& github.actor != 'opentelemetrybot'
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install tox
run: pip install tox
- name: Run tests
run: tox -e generate-workflows
- name: Check workflows are up to date
run: git diff --exit-code || (echo 'Generated workflows are out of date, run "tox -e generate-workflows" and commit the changes in this PR.' && exit 1)